[BUG] npm pkg help output does not show an example for setting array values #4320
Closed
2 tasks done
Labels
Bug
thing that needs fixing
Documentation
documentation related issue
Priority 2
secondary priority issue
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
At present, it doesn't seem like the
npm pkg --help
output provides sufficient context for end-users to understand that they can also set array values with it, despite this feature being fully available (see the docs).I personally ran into this trying to use
npm pkg set
to define my workspaces.Here's the current output:
Expected Behavior
Ideally, this output would reflect the ability to set array values.
Steps To Reproduce
npm pkg --help
Environment
The text was updated successfully, but these errors were encountered: