Skip to content

Commit

Permalink
Add short form of some CLI options again
Browse files Browse the repository at this point in the history
  • Loading branch information
pahen committed Aug 19, 2016
1 parent 6a546f3 commit 7e161d2
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ const version = require('../package.json').version;
program
.version(version)
.usage('[options] <src...>')
.option('--basedir <path>', 'base directory for resolving paths')
.option('--list', 'show dependency list (default)')
.option('--summary', 'show dependency count summary')
.option('--circular', 'show circular dependencies')
.option('--depends <name>', 'show module dependents')
.option('--exclude <regexp>', 'exclude modules using RegExp')
.option('--json', 'output as JSON')
.option('--image <file>', 'write graph to file as an image')
.option('--layout <name>', 'layout engine to use for graph (dot/neato/fdp/sfdp/twopi/circo)')
.option('-b --basedir <path>', 'base directory for resolving paths')
.option('-s, --summary', 'show dependency count summary')
.option('-c, --circular', 'show circular dependencies')
.option('-d, --depends <name>', 'show module dependents')
.option('-x, --exclude <regexp>', 'exclude modules using RegExp')
.option('-j, --json', 'output as JSON')
.option('-i, --image <file>', 'write graph to file as an image')
.option('-l, --layout <name>', 'layout engine to use for graph (dot/neato/fdp/sfdp/twopi/circo)')
.option('--dot', 'show graph using the DOT language')
.option('--extensions <list>', 'comma separated string of valid file extensions')
.option('--show-extension', 'include file extension in module name', false)
Expand Down

0 comments on commit 7e161d2

Please sign in to comment.