Skip to content

Commit

Permalink
Add strict yargs (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
benthayer committed Sep 5, 2024
1 parent ec0f68b commit fec8c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { commands } from './cmds/index.mjs'
yargs(hideBin(process.argv))
.scriptName('toggl')
.command(commands)
.strict()
.completion('completion', 'Outputs bash/zsh-completion shortcuts for commands and options to add to .bashrc or .bash_profile')
.demandCommand()
.help()
Expand Down

0 comments on commit fec8c27

Please sign in to comment.