Skip to content

Commit

Permalink
feat: top level fail false to prevent all throw errors being processe…
Browse files Browse the repository at this point in the history
…d in yargs
  • Loading branch information
field123 committed Sep 26, 2023
1 parent 20af701 commit cccb4fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/composable-cli/src/composable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export async function main({
.example("$0 logout", "logout of the CLI")
.strictCommands()
.demandCommand(1)
.fail(false)
.help("h").argv

return 0
Expand Down

0 comments on commit cccb4fa

Please sign in to comment.