summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/commands/npm-exec.md
diff options
context:
space:
mode:
authornpm team <ops+robot@npmjs.com>2022-02-24 21:41:49 +0000
committerLuigi Pinca <luigipinca@gmail.com>2022-02-26 08:15:26 +0100
commit1b8300b238923822ea0934b196e3a9e97e0a0893 (patch)
tree474bd5d5a4ee73358f4feebd433cc3f67d65b6e2 /deps/npm/docs/content/commands/npm-exec.md
parente84b635db49d629f119959c9f0a31762ac22770b (diff)
downloadnode-new-1b8300b238923822ea0934b196e3a9e97e0a0893.tar.gz
deps: upgrade npm to 8.5.2
PR-URL: https://github.com/nodejs/node/pull/42122 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Danielle Adams <adamzdanielle@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'deps/npm/docs/content/commands/npm-exec.md')
-rw-r--r--deps/npm/docs/content/commands/npm-exec.md21
1 files changed, 9 insertions, 12 deletions
diff --git a/deps/npm/docs/content/commands/npm-exec.md b/deps/npm/docs/content/commands/npm-exec.md
index d154f5780b..3645e336b9 100644
--- a/deps/npm/docs/content/commands/npm-exec.md
+++ b/deps/npm/docs/content/commands/npm-exec.md
@@ -6,26 +6,23 @@ description: Run a command from a local or remote npm package
### Synopsis
+<!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/commands/exec.js -->
+
```bash
npm exec -- <pkg>[@<version>] [args...]
npm exec --package=<pkg>[@<version>] -- <cmd> [args...]
npm exec -c '<cmd> [args...]'
npm exec --package=foo -c '<cmd> [args...]'
-npm exec [--ws] [-w <workspace-name] [args...]
-npx <pkg>[@<specifier>] [args...]
-npx -p <pkg>[@<specifier>] <cmd> [args...]
-npx -c '<cmd> [args...]'
-npx -p <pkg>[@<specifier>] -c '<cmd> [args...]'
-Run without --call or positional args to open interactive subshell
+alias: x
+```
-alias: npm x, npx
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/commands/exec.js -->
-common options:
---package=<pkg> (may be specified multiple times)
--p is a shorthand for --package only when using npx executable
--c <cmd> --call=<cmd> (may not be mixed with positional arguments)
-```
+<!-- AUTOGENERATED USAGE DESCRIPTIONS END -->
### Description