Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
docs: auto-generate npm usage for each command (#4450)
Closes #4189 * docs: auto-generate synopsis sections * feat: improve usage auto-generation' * chore: auto-generate npm usage for each command * docs: print default usage when usage is missing * docs: add special case for npx * fix: remove optional chaining
- Loading branch information
Showing
with
821 additions
and 164 deletions.
- +9 −3 docs/content/commands/npm-access.md
- +10 −1 docs/content/commands/npm-adduser.md
- +10 −4 docs/content/commands/npm-audit.md
- +10 −1 docs/content/commands/npm-bin.md
- +11 −2 docs/content/commands/npm-bugs.md
- +16 −8 docs/content/commands/npm-cache.md
- +11 −0 docs/content/commands/npm-ci.md
- +10 −1 docs/content/commands/npm-completion.md
- +9 −2 docs/content/commands/npm-config.md
- +28 −2 docs/content/commands/npm-dedupe.md
- +10 −1 docs/content/commands/npm-deprecate.md
- +9 −4 docs/content/commands/npm-diff.md
- +10 −1 docs/content/commands/npm-dist-tag.md
- +10 −1 docs/content/commands/npm-docs.md
- +9 −0 docs/content/commands/npm-doctor.md
- +10 −1 docs/content/commands/npm-edit.md
- +9 −12 docs/content/commands/npm-exec.md
- +9 −0 docs/content/commands/npm-explain.md
- +9 −0 docs/content/commands/npm-explore.md
- +11 −0 docs/content/commands/npm-find-dupes.md
- +10 −2 docs/content/commands/npm-fund.md
- +9 −0 docs/content/commands/npm-help-search.md
- +11 −0 docs/content/commands/npm-help.md
- +11 −2 docs/content/commands/npm-hook.md
- +14 −4 docs/content/commands/npm-init.md
- +10 −1 docs/content/commands/npm-install-ci-test.md
- +26 −11 docs/content/commands/npm-install-test.md
- +25 −13 docs/content/commands/npm-install.md
- +18 −4 docs/content/commands/npm-link.md
- +10 −1 docs/content/commands/npm-logout.md
- +10 −1 docs/content/commands/npm-ls.md
- +14 −3 docs/content/commands/npm-org.md
- +9 −0 docs/content/commands/npm-outdated.md
- +10 −1 docs/content/commands/npm-owner.md
- +10 −1 docs/content/commands/npm-pack.md
- +10 −1 docs/content/commands/npm-ping.md
- +12 −3 docs/content/commands/npm-pkg.md
- +9 −0 docs/content/commands/npm-prefix.md
- +12 −4 docs/content/commands/npm-profile.md
- +10 −1 docs/content/commands/npm-prune.md
- +10 −4 docs/content/commands/npm-publish.md
- +9 −0 docs/content/commands/npm-rebuild.md
- +9 −0 docs/content/commands/npm-repo.md
- +9 −0 docs/content/commands/npm-restart.md
- +10 −1 docs/content/commands/npm-root.md
- +10 −3 docs/content/commands/npm-run-script.md
- +10 −1 docs/content/commands/npm-search.md
- +9 −0 docs/content/commands/npm-set-script.md
- +9 −0 docs/content/commands/npm-shrinkwrap.md
- +9 −0 docs/content/commands/npm-star.md
- +10 −0 docs/content/commands/npm-stars.md
- +9 −0 docs/content/commands/npm-start.md
- +9 −0 docs/content/commands/npm-stop.md
- +13 −6 docs/content/commands/npm-team.md
- +10 −1 docs/content/commands/npm-test.md
- +13 −3 docs/content/commands/npm-token.md
- +17 −5 docs/content/commands/npm-uninstall.md
- +9 −0 docs/content/commands/npm-unstar.md
- +29 −2 docs/content/commands/npm-update.md
- +11 −4 docs/content/commands/npm-version.md
- +11 −2 docs/content/commands/npm-view.md
- +10 −1 docs/content/commands/npm-whoami.md
- +2 −3 docs/content/commands/npm.md
- +11 −13 docs/content/commands/npx.md
- +93 −18 scripts/config-doc-command.js
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.