diff options
author | Wassim Chegham <1699357+manekinekko@users.noreply.github.com> | 2022-02-24 20:46:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 20:46:37 +0300 |
commit | 6b68c1aaa282205eb4d47dbc81909c11851f7e06 (patch) | |
tree | a5a2ddafe61e5e475913a316a3ca59893629f986 /docs/content/commands/npm-prune.md | |
parent | d438d61d4f689966de8f964afe212d1319b8d460 (diff) |
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
Diffstat (limited to 'docs/content/commands/npm-prune.md')
-rw-r--r-- | docs/content/commands/npm-prune.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/content/commands/npm-prune.md b/docs/content/commands/npm-prune.md index 658ab2610..49420e5b9 100644 --- a/docs/content/commands/npm-prune.md +++ b/docs/content/commands/npm-prune.md @@ -6,10 +6,19 @@ description: Remove extraneous packages ### Synopsis +<!-- AUTOGENERATED USAGE DESCRIPTIONS START --> +<!-- automatically generated, do not edit manually --> +<!-- see lib/commands/prune.js --> + ```bash -npm prune [[<@scope>/]<pkg>...] [--production] [--dry-run] [--json] +npm prune [[<@scope>/]<pkg>...] ``` +<!-- automatically generated, do not edit manually --> +<!-- see lib/commands/prune.js --> + +<!-- AUTOGENERATED USAGE DESCRIPTIONS END --> + ### Description This command removes "extraneous" packages. If a package name is provided, |