Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDav Glass <davglass@gmail.com>2010-11-24 23:09:21 +0300
committerisaacs <i@izs.me>2010-11-25 00:03:59 +0300
commit516392491762f9a88ea828e01233bc10e347087e (patch)
treea4b884308b86a958e10d262341462edb0ee88117 /doc/config.md
parent7a6a752535c1c0a0bcf7ed4f6d6681f668a14606 (diff)
Added listopts. Fixes #396
This forces additional filters to npm ls, without highlighting them in the outpu. Added ls docs and casting of the argument to a string plus slimmed the code
Diffstat (limited to 'doc/config.md')
-rw-r--r--doc/config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/config.md b/doc/config.md
index 9d8e0b6db..29772b1f0 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -307,3 +307,15 @@ create orphan packages that no longer function properly.
Default: env.EDITOR
The program to use to edit files.
+
+### listopts
+
+Default: ""
+
+A whitespace-separated list of extra args that are always passed to npm ls
+
+For example: `listopts = remote`
+
+`npm ls`
+
+The output here will always filter by remote