From 1520daf83d9f384a646da32a117e03f45b1c45c9 Mon Sep 17 00:00:00 2001 From: Adela Homolova Date: Fri, 31 Jan 2020 16:21:59 +0100 Subject: [PATCH] fix: customize help --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index be55606b5..47d94184e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 ',