Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __e2e__/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`shows up help information without passing in any args 1`] = `
"Usage: bin [options] [command] <command>
"Usage: bin <command> [options]

Options:
--version Print CLI version
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import loadConfig from './tools/config';
const pkgJson = require('../package.json');

commander
.usage('<command> [options]')
.option('--version', 'Print CLI version')
.option('--verbose', 'Increase logging verbosity');

Expand Down