Skip to content

[Feature] Add all possible --no- toggle to the man pages / help text for a command, e.g. yarn install --no-immutable exists but isn't mentioned anywhere in yarn install -h #7023

@k0pernikus

Description

@k0pernikus
  • [] I'd be willing to implement this feature (contributing guide)
  • This feature is important to have in this repository; a contrib plugin wouldn't do

Describe the user story

I as a developer was surprised I could toggle feature off by prefixing them with --no-. I did not see that in the docs.

I looked into yarn install -h, yet there is no reference for any --no- flag, like --no-immutable even though it exists and works.

I stumbled over the flag per acciedent by reading about it in this comment:

You can pass the --no-immutable flag to turn it off for the install command
yarn install --no-immutable

Describe the solution you'd like

I want yarn help text to also include all possible --no- variants.

If this is default feature, I want to be made aware (though unsure what the correct place would be). Also I am unsure if there are some flags that don't support a --no--prefix or where it won't make sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststaleIssues that didn't get attentionwaiting for feedbackWill autoclose in a while unless more data are provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions