File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ class Get extends BaseCommand {
4
4
static description = 'Get a value from the npm configuration'
5
5
static name = 'get'
6
6
static usage = [ '[<key> ...] (See `npm config`)' ]
7
+ static params = [ 'long' ]
7
8
static ignoreImplicitWorkspace = false
8
9
9
10
// TODO
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ class Set extends BaseCommand {
4
4
static description = 'Set a value in the npm configuration'
5
5
static name = 'set'
6
6
static usage = [ '<key>=<value> [<key>=<value> ...] (See `npm config`)' ]
7
+ static params = [ 'global' , 'location' ]
7
8
static ignoreImplicitWorkspace = false
8
9
9
10
// TODO
Original file line number Diff line number Diff line change @@ -2638,6 +2638,9 @@ Get a value from the npm configuration
2638
2638
Usage:
2639
2639
npm get [<key> ...] (See \`npm config\`)
2640
2640
2641
+ Options:
2642
+ [-l|--long]
2643
+
2641
2644
Run "npm help get" for more info
2642
2645
2643
2646
\`\`\`bash
@@ -2646,7 +2649,7 @@ npm get [<key> ...] (See \`npm config\`)
2646
2649
2647
2650
Note: This command is unaware of workspaces.
2648
2651
2649
- NO PARAMS
2652
+ #### \`long\`
2650
2653
`
2651
2654
2652
2655
exports [ `test/lib/docs.js TAP usage help > must match snapshot 1` ] = `
@@ -3531,6 +3534,9 @@ Set a value in the npm configuration
3531
3534
Usage:
3532
3535
npm set <key>=<value> [<key>=<value> ...] (See \`npm config\`)
3533
3536
3537
+ Options:
3538
+ [-g|--global] [-L|--location <global|user|project>]
3539
+
3534
3540
Run "npm help set" for more info
3535
3541
3536
3542
\`\`\`bash
@@ -3539,7 +3545,8 @@ npm set <key>=<value> [<key>=<value> ...] (See \`npm config\`)
3539
3545
3540
3546
Note: This command is unaware of workspaces.
3541
3547
3542
- NO PARAMS
3548
+ #### \`global\`
3549
+ #### \`location\`
3543
3550
`
3544
3551
3545
3552
exports [ `test/lib/docs.js TAP usage shrinkwrap > must match snapshot 1` ] = `
You can’t perform that action at this time.
0 commit comments