Skip to content

Apply help to all symbols in the CLI declaration #2343

Open
@KathleenDollard

Description

@KathleenDollard

We are currently planning to remove global options. We think they are rarely used and add complexity to the parser.

Initialize for the subsystems gives us a great place to put the help option on every symbol in the tree. Altering HelpSubsystem.Initialize to add it across the tree, not just to the root. Also, tests are needed.

Note: This assumes that no other subsystem will add a command that will need help. If there is an order dependency here, we assume the CLI author will be aware of it and can use custom ordering by overriding Pipeline and updating InitializeSubsystems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions