You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
This looks good! If you submit a PR I'd be happy to merge this. Going to close this issue though since I don't plan on doing this myself in the short term. Thanks!
The
cli.CLI
struct should add aSubcommandChooser
, which is afunc
that return acli.Command
.The reason would be when the specified subcommand doesn't exist (see also pull reqeust #10) the behaviour can be controlled by the user.
Also I can implement something similar to
busybox
's behaviour that by creating a linkfoo
to my binary, I can invoke thefoo
subcommand directly.If this idea looks good to you I can send a PR and implement it.
The text was updated successfully, but these errors were encountered: