fix: return "unknown command" instead of "no help topic" error when unknown (sub)command is passed (#316)

Co-authored-by: Sam Lai <samuel.lai@gmail.com>
This commit is contained in:
Daniel Moran
2021-11-02 14:17:42 -04:00
committed by GitHub
parent a3af8ca833
commit d861490100
15 changed files with 44 additions and 20 deletions

View File

@ -13,6 +13,7 @@ func newAuthCommand() cli.Command {
Name: "auth",
Usage: "Authorization management commands",
Aliases: []string{"authorization"},
Before: middleware.NoArgs,
Subcommands: []cli.Command{
newCreateCommand(),
newDeleteCommand(),