Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
use common npm abbreviations, fixes #435
Browse files Browse the repository at this point in the history
  • Loading branch information
bronson committed Sep 4, 2017
1 parent 5cf83aa commit 9388627
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/config.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Command = require './command'

module.exports =
class Config extends Command
@commandNames: ['config']
@commandNames: ['config', 'c']

constructor: ->
atomDirectory = apm.getAtomDirectory()
Expand Down
2 changes: 1 addition & 1 deletion src/rebuild.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Install = require './install'

module.exports =
class Rebuild extends Command
@commandNames: ['rebuild']
@commandNames: ['rebuild', 'rb']

constructor: ->
@atomNodeDirectory = path.join(config.getAtomDirectory(), '.node-gyp')
Expand Down
2 changes: 1 addition & 1 deletion src/search.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tree = require './tree'

module.exports =
class Search extends Command
@commandNames: ['search']
@commandNames: ['search', 's', 'se']

parseOptions: (argv) ->
options = yargs(argv).wrap(100)
Expand Down
2 changes: 1 addition & 1 deletion src/test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fs = require './fs'

module.exports =
class Test extends Command
@commandNames: ['test']
@commandNames: ['test', 't', 'tst']

parseOptions: (argv) ->
options = yargs(argv).wrap(100)
Expand Down
2 changes: 1 addition & 1 deletion src/uninstall.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ request = require './request'

module.exports =
class Uninstall extends Command
@commandNames: ['deinstall', 'delete', 'erase', 'remove', 'rm', 'uninstall']
@commandNames: ['deinstall', 'delete', 'erase', 'r', 'remove', 'rm', 'uninstall', 'un']

parseOptions: (argv) ->
options = yargs(argv).wrap(100)
Expand Down
2 changes: 1 addition & 1 deletion src/upgrade.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ git = require './git'

module.exports =
class Upgrade extends Command
@commandNames: ['upgrade', 'outdated', 'update']
@commandNames: ['upgrade', 'outdated', 'update', 'up']

constructor: ->
@atomDirectory = config.getAtomDirectory()
Expand Down
2 changes: 1 addition & 1 deletion src/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tree = require './tree'

module.exports =
class View extends Command
@commandNames: ['view', 'show']
@commandNames: ['view', 'show', 'v']

parseOptions: (argv) ->
options = yargs(argv).wrap(100)
Expand Down

0 comments on commit 9388627

Please sign in to comment.