Skip to content

Commit

Permalink
Force strict arguments/command
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalin committed Jan 15, 2022
1 parent 7a1dfa2 commit 3d9e96c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export const cli = yargs(hideBin(process.argv))
.command(getTransactionDataCommand) // TODO: test getTransactionDataCommand and submitTxCommand
.command(submitTxCommand)
.demandCommand()
.strict()
.help().argv;

0 comments on commit 3d9e96c

Please sign in to comment.