issues
search
google
/
subcommands
Go subcommand library.
Apache License 2.0
749
stars
48
forks
source link
Allow users to override default help behavior.
#23
Closed
ianlewis
closed
5 years ago
ianlewis
commented
5 years ago
CommandGroup is now public.
Commander and CommandGroup name is accessible by Name()
Commander, CommandGroup, and Command explations are now printed by overridable functions set on the Commander.
Subcommands are visitable by the VisitCommands() method.
Command groups are visitable by the VisitGroups() method.
Important flags are visitable by the VisitAllImportant() method.
Top level flags are visitable by the VisitAll() method.