diff options
author | Wassim Chegham <1699357+manekinekko@users.noreply.github.com> | 2022-02-17 01:00:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 01:00:50 +0300 |
commit | 9275856eb75e7c394a3c7617c2b495aba35ee2de (patch) | |
tree | b68f4bff83ea27460496216b5c14fb79f86f01d1 /lib/commands | |
parent | fb13bdaf12dde3ef5685a77354e51a9cfa579879 (diff) |
docs: update usage example for npm pkg (#4424)
Add example for setting array values
Fixes #4320
Diffstat (limited to 'lib/commands')
-rw-r--r-- | lib/commands/pkg.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/commands/pkg.js b/lib/commands/pkg.js index 007932429..6ca892293 100644 --- a/lib/commands/pkg.js +++ b/lib/commands/pkg.js @@ -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 = [ |