Skip to content

Global help options #582

Closed
Closed
@jvalkeal

Description

@jvalkeal

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions