Skip to content

Commit

Permalink
fix: customize help
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Jan 31, 2020
1 parent 13ea21e commit 1520daf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ class DXScannerCommand {
static async run() {
const cmder = new commander.Command();

//customize default help
cmder.name('dx-scanner').usage('[command] [options] ');

// default cmd config
cmder.version(pjson.version).name('dx-scanner');

// cmd: run
cmder
.command('run [path]')
//customize default help
.usage('[path] [options]')
.description('Scan your project for possible DX recommendations')
.option(
'-a --authorization <authorization>',
Expand Down

0 comments on commit 1520daf

Please sign in to comment.