Skip to content

Additional custom sections for organizing flags in help text #50

Open
@divyenduz

Description

@divyenduz

Is your feature request related to a problem? Please describe.
I am writing a CLI with 6 global flags. This works well as I can just create an object and share it in commands. However, this makes the generated help section difficult to read.

Describe the solution you'd like
Is it possible to split the flags into global flags and command specific flags? Then in help show only the command flags under FLAGS heading and add a new heading "GLOBAL FLAGS" for other flags.

Metadata

Metadata

Assignees

Labels

core ⚙Relates to the @stricli/core packageenhancement ✨New feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions