Skip to content

Commit

Permalink
fix(configuration): missing command aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
drawnepicenter committed Jan 29, 2017
1 parent 69da0bc commit d368b8d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/commands/configuration/get.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/commands/configuration/init.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/commands/configuration/set.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/commands/configuration/get.js
Expand Up @@ -8,6 +8,7 @@ const noon = require('noon')
const CFILE = `${process.env.HOME}/.leximaven.noon`

exports.command = 'get <key>'
exports.aliases = ['g']
exports.desc = 'Retrieve a config value'
exports.builder = {}
exports.handler = (argv) => {
Expand Down
1 change: 1 addition & 0 deletions src/commands/configuration/init.js
Expand Up @@ -9,6 +9,7 @@ const CFILE = `${process.env.HOME}/.leximaven.noon`
const PKGDIR = `${process.env.NODE_PATH}/leximaven/`

exports.command = 'init'
exports.aliases = ['i']
exports.desc = 'Initialize config file'
exports.builder = {
force: {
Expand Down
1 change: 1 addition & 0 deletions src/commands/configuration/set.js
Expand Up @@ -8,6 +8,7 @@ const noon = require('noon')
const CFILE = `${process.env.HOME}/.leximaven.noon`

exports.command = 'set <key> <value>'
exports.aliases = ['s']
exports.desc = 'Set a config value'
exports.builder = {}
exports.handler = (argv) => {
Expand Down

0 comments on commit d368b8d

Please sign in to comment.