Skip to content

Commit

Permalink
feat(cli): disabled version option (#162)
Browse files Browse the repository at this point in the history
Disabled --version option

Closes #124
  • Loading branch information
MishaSeredenkoPushBased committed Oct 26, 2023
1 parent 142943e commit 9a5371c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion e2e/cli-e2e/tests/__snapshots__/help.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Commands:
code-pushup print-config Print config
Options:
--version Show version number [boolean]
--verbose When true creates more verbose output. This is help
ful when debugging. [boolean] [default: false]
--config Path the the config file, e.g. code-pushup.config.j
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/lib/yargs-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export function yargsCli(
// setup yargs
cli
.help()
.version(false)
.alias('h', 'help')
.parserConfiguration({
'strip-dashed': true,
Expand Down

0 comments on commit 9a5371c

Please sign in to comment.