Skip to content

[Feature Request] Hide default value and flag type #1145

@borela

Description

@borela

Currently, my project shows:

Commands:
  index.js build     Build the project.
  index.js scaffold  Generate a project from the available templates.
  index.js lint      Check or fix code style.
  index.js test      Run test suites.

Options:
  --help            Show usage instructions.                           [boolean]
  --version         Show toolbox version.                              [boolean]
  --comment-flow    Convert Flow annotations to comments.              [boolean]
  --env             Used to determine the polyfills and fine tune the linter.
        [array] [choices: "browser", "node-js"] [default: ["browser","node-js"]]
  --flow            Enable Flow annotations.                           [boolean]
  --jsx             Enable JSX.                                        [boolean]
  --react           Enable React transformations.                      [boolean]
  --remove-flow     Remove Flow annotations.                           [boolean]
  --production      Remove debug plugins.                              [boolean]
  --target-browser  Browsers targeted by the project.
      [array] [default: ["chrome >= 49",">= 0.5%","last 2 versions","not dead"]]
  --target-node-js  Minimum NodeJS version targeted by the project.
                                                           [string] [default: 6]
  --type-script     Enable TypeScript.                                 [boolean]

But the default values and types pollutes it, is it possible already to hide them? I would like something like this:

Commands:
  index.js build     Build the project.
  index.js scaffold  Generate a project from the available templates.
  index.js lint      Check or fix code style.
  index.js test      Run test suites.

Options:
  --help            Show usage instructions.                           
  --version         Show toolbox version.                              
  --comment-flow    Convert Flow annotations to comments.              
  --env             Used to determine the polyfills and fine tune the linter.
  --flow            Enable Flow annotations.                           
  --jsx             Enable JSX.                                      
  --react           Enable React transformations.                    
  --remove-flow     Remove Flow annotations.                         
  --production      Remove debug plugins.                            
  --target-browser  Browsers targeted by the project.
  --target-node-js  Minimum NodeJS version targeted by the project.
  --type-script     Enable TypeScript.                                 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions