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:
authorisaacs <i@izs.me>2020-07-07 20:20:06 +0300
committerisaacs <i@izs.me>2020-07-08 03:20:29 +0300
commite23c4af1cc4149d0567f8b15bbeba594685288c9 (patch)
treeb339a4a77da39c6e11042d436a5be53841dc9aa0 /docs/content/cli-commands/npm-bugs.md
parent12779c8d75dd91af33d299e46c8e253bf0171102 (diff)
rm fetch-package-metadata, refactor bugs/repo/docs
- remove the now-outdated 'fetch-package-metadata' module. - refactor the `bugs`, `repo`, and `docs` commands for consistency. - add unit tests for refactored commands and new util module. - update `browser` config handling to honor `browser = false` in config files, along with command line flag. (previously only cli config was honored.) - slight improvement to `open-url` output when browser not used.
Diffstat (limited to 'docs/content/cli-commands/npm-bugs.md')
-rw-r--r--docs/content/cli-commands/npm-bugs.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/content/cli-commands/npm-bugs.md b/docs/content/cli-commands/npm-bugs.md
index 6e59f2bd1..1e7272cec 100644
--- a/docs/content/cli-commands/npm-bugs.md
+++ b/docs/content/cli-commands/npm-bugs.md
@@ -10,7 +10,7 @@ description: Bugs for a package in a web browser maybe
### Synopsis
```bash
-npm bugs [<pkgname>]
+npm bugs [<pkgname> [<pkgname> ...]]
aliases: issues
```
@@ -27,10 +27,15 @@ a `package.json` in the current folder and use the `name` property.
#### browser
* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"`
-* Type: String
+* Type: String or Boolean
The browser that is called by the `npm bugs` command to open websites.
+Set to `false` to suppress browser behavior and instead print urls to
+terminal.
+
+Set to `true` to use default system URL opener.
+
#### registry
* Default: https://registry.npmjs.org/