-
Notifications
You must be signed in to change notification settings - Fork 39
Option for full Usage path in help #44
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Loving the fangs! 🥇
Currently, if you have a deep command structure (root -> command -> subcommand), usage only prints the subcommand as part of the help output.
Would it be resonable to add an option to use the full Usage "path" for a command when rendering the help text?
if err := fang.Execute(context.Background(), cmd, fang.WithFullUsagePath()); err != nil {
os.Exit(1)
}Turning this:
Deploy k8s app
USAGE
k8s [--flags]
Into this:
Deploy k8s app
USAGE
cli deploy k8s [--flags]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request