Closed
Description
Currently help is a fully dedicated command and can be called like this.
my-shell:>help
my-shell:>help --command "theme style resolve"
my-shell:>help theme style resolve
It would be convenient to have automatic way to add options which would do same:
my-shell:>theme style resolve -h
my-shell:>theme style resolve --help
For example GO's Cobra cli lib does this by injecting these options to commands and then manually short circuit if -h
or --help
is parsed from an options.