Skip to content

Commit

Permalink
docs: update usage example for npm pkg
Browse files Browse the repository at this point in the history
Add example for setting array values

Fixes npm#4320
  • Loading branch information
manekinekko committed Feb 16, 2022
1 parent 20a9818 commit 43b7470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/commands/pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ class Pkg extends BaseCommand {
'set <key>=<value> [<key>=<value> ...]',
'get [<key> [<key> ...]]',
'delete <key> [<key> ...]',
'set [<array>[<index>].<key>=<value> ...]',
'set [<array>[].<key>=<value> ...]',
]

static params = [
Expand Down

0 comments on commit 43b7470

Please sign in to comment.