Skip to content

Commit

Permalink
Add the script name to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Govorov committed May 5, 2019
1 parent 3b6c2c1 commit 5e7dc98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const { list, apply } = require('./commands')
app.strict()
app.locale('en')
app.version(pkg.version)
app.scriptName('shower')
app.usage(chalk`Usage: {bold $0 [--version] [--help] <command> [<args>]}`)
app.epilog(chalk`See {bold $0 <command> --help} to read about a specific subcommand.`)

Expand Down

0 comments on commit 5e7dc98

Please sign in to comment.