Skip to content

Commit 9a5371c

Browse files
feat(cli): disabled version option (#162)
Disabled --version option Closes #124
1 parent 142943e commit 9a5371c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

e2e/cli-e2e/tests/__snapshots__/help.spec.ts.snap

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Commands:
1212
code-pushup print-config Print config
1313
1414
Options:
15-
--version Show version number [boolean]
1615
--verbose When true creates more verbose output. This is help
1716
ful when debugging. [boolean] [default: false]
1817
--config Path the the config file, e.g. code-pushup.config.j

packages/cli/src/lib/yargs-cli.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function yargsCli(
4343
// setup yargs
4444
cli
4545
.help()
46+
.version(false)
4647
.alias('h', 'help')
4748
.parserConfiguration({
4849
'strip-dashed': true,

0 commit comments

Comments
 (0)