Open
Description
Is there an existing issue for this?
- I have searched the existing issues
This is a CLI Docs Problem, not another kind of Docs Problem.
- This is a CLI Docs Problem.
Description of Problem
The v8 completion
synopsis was changed (via #4450) to the following (using a generic command template):
npm completion
This is autogenerated using a generic command template, but it is incorrect (at, at the very least, not useful). The v7 page has the right usage, namely:
source <(npm completion)
Potential Solution
Update describeUsage
in https://github.com/npm/cli/blob/latest/scripts/config-doc-command.js to treat completion
as a special case.
Activity
wraithgar commentedon Mar 28, 2022
It may be more correct to add that to the Description section, and edit it to say "Generates completion script"
docs: correct incorrect desc and usage in npm-completion.md