Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ability to hide CommandOptions. #642

Merged
merged 1 commit into from
Nov 29, 2021

Commits on Nov 28, 2021

  1. Added the ability to hide CommandOptions.

    CommandOptions now has an IsHidden property that, when set to true, will cause the option to be hidden from the following cases:
    
    - Help text using `-h|--help`
    - Xml representations generated with the `cli xml` command
    - Diagnostics displayed with the `cli explain` command
    
    Hidden options can still be outputted with `cli explain` using the `--hidden` option that is also used to display hidden commands.
    
    Fixes spectreconsole#631
    twaalewijn committed Nov 28, 2021
    Configuration menu
    Copy the full SHA
    2f840df View commit details
    Browse the repository at this point in the history