Skip to content

Commit

Permalink
fix(cli): avoid commander clash
Browse files Browse the repository at this point in the history
  • Loading branch information
LumaKernel authored Jan 15, 2021
1 parent 41a50d5 commit 2f071ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const pkg = require('../package.json');
updateNotifier({ pkg: pkg }).notify();

program
.storeOptionsAsProperties()
.version(pkg.version, '-v, --version')
.option('-c, --compressor [compressor]', 'use the specified compressor [uglify-js]', 'uglify-js')
.option('-i, --input [file]', 'input file path')
Expand Down

0 comments on commit 2f071ce

Please sign in to comment.