Skip to content

Commit 4bde293

Browse files
committed
Tweak npm/npx command help text
1 parent 34e078e commit 4bde293

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/commands/npm/cmd-npm.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ async function run(
4444
API Token Requirements
4545
${getFlagApiRequirementsOutput(`${parentName}:${CMD_NAME}`)}
4646
47-
This runs npm but checks packages through Socket before installing anything.
47+
Run npm with packages installs gated through the Socket API.
4848
See docs for more details.
4949
5050
Note: Everything after "npm" is sent straight to the npm command.
5151
Only the \`--dryRun\` and \`--help\` flags are caught here.
5252
53-
Use \`socket wrapper on\` to automatically enable this such that you don't
54-
have to write \`socket npm\` for that purpose.
53+
Use \`socket wrapper on\` to alias this command as \`npm\`.
5554
5655
Examples
5756
$ ${command}

src/commands/npx/cmd-npx.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ async function run(
4444
API Token Requirements
4545
${getFlagApiRequirementsOutput(`${parentName}:${CMD_NAME}`)}
4646
47-
This runs npx but checks packages through Socket before running them.
47+
Run npx with packages installs gated through the Socket API.
4848
See docs for more details.
4949
5050
Note: Everything after "npx" is sent straight to the npx command.
5151
Only the \`--dryRun\` and \`--help\` flags are caught here.
5252
53-
Use \`socket wrapper on\` to automatically enable this such that you don't
54-
have to write \`socket npx\` for that purpose.
53+
Use \`socket wrapper on\` to alias this command as \`npx\`.
5554
5655
Examples
5756
$ ${command}

0 commit comments

Comments
 (0)