feat(oas:cli): output better error when no command is provided (#3559)

* feat(oas:cli): output better error when no command is provided

* chore(changeset): patch

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Patrick
2023-03-26 11:59:52 +02:00
committed by GitHub
co-authored by Oliver Windall Juhl
parent bd199d7f44
commit 53c4a43ca2
4 changed files with 20 additions and 1 deletions
@@ -61,6 +61,7 @@ export function getCommand() {
command.addOption(opt)
}
command.action(async (options) => await execute(options))
command.showHelpAfterError(true)
return command
}