-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
Documentationdocumentation related issuedocumentation related issuePriority 2secondary priority issuesecondary priority issue
Description
Is there an existing issue for this?
- I have searched the existing issuesTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
This is a CLI Docs Problem, not another kind of Docs Problem.
- This is a CLI Docs Problem.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
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.
Affected URL
vassudanagunta
Metadata
Metadata
Assignees
Labels
Documentationdocumentation related issuedocumentation related issuePriority 2secondary priority issuesecondary priority issue
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