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

docs(config): document no- prefixed configs more clearly #398

Open
1 task
Tracked by #536
darcyclarke opened this issue Oct 12, 2021 · 1 comment
Open
1 task
Tracked by #536

docs(config): document no- prefixed configs more clearly #398

darcyclarke opened this issue Oct 12, 2021 · 1 comment
Labels

Comments

@darcyclarke
Copy link
Contributor

Summary

Currently there doesn't seem to be any documentation around the no- prefix functionality that exists for all of our configs (ie. defining the config with the prefix sets the value of the config to false).

@wraithgar
Copy link
Member

One of the things we did was add --no- to the boolean examples for given commands:

~ $ npm repo --help
npm repo

Open package repository page in the browser

Usage:
npm repo [<pkgname> [<pkgname> ...]]

Options:
[--no-browser|--browser <browser>]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces]

We can probably do something similar to the long-form help of booleans?

@darcyclarke darcyclarke mentioned this issue Mar 23, 2022
32 tasks
@darcyclarke darcyclarke mentioned this issue Aug 22, 2022
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants