Skip to content

help-dump structures should reflect hidden attribute for commands as well as arguments #668

@heckj

Description

@heckj

Following up from a forum's thread on the topic, this bug is to capture the need to extend the dump-help serialization data structure to reflect that a command, as well as an argument, can be hidden from output.

Checklist

  • If possible, I've reproduced the issue using the main branch of this package
  • I've searched for existing GitHub issues

Steps to Reproduce

  1. Establish an example command and mark it private
  2. use the --experimental-dump-help on the resulting executable

Expected behavior

A "hidden" command should be annotated as such. Additionally, generate-manual should exclude content for that command.

Actual behavior

Hidden commands are exposed, and no data is included in the JSON representation that's made available in the dump-help serialization format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions