diff options
author | Michael Nisi <michael.nisi@gmail.com> | 2014-08-12 18:39:49 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-09-19 10:36:07 +0400 |
commit | fb5724fd98e1509c939693568df83d11417ea337 (patch) | |
tree | f4a27da749b52df51ef12836c14936c0ce9198c2 /doc | |
parent | 1259d85d78405b4c48becba8dcec6d8adf1bc3f6 (diff) |
Allow init without prompt
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-init.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/cli/npm-init.md b/doc/cli/npm-init.md index bd63a8879..08e517d79 100644 --- a/doc/cli/npm-init.md +++ b/doc/cli/npm-init.md @@ -3,7 +3,7 @@ npm-init(1) -- Interactively create a package.json file ## SYNOPSIS - npm init + npm init [-f|--force|-y|--yes] ## DESCRIPTION @@ -18,6 +18,9 @@ the options in there. It is strictly additive, so it does not delete options from your package.json without a really good reason to do so. +If you invoke it with `-f`, `--force`, `-y`, or `--yes`, it will use only +defaults and not prompt you for any options. + ## SEE ALSO * <https://github.com/isaacs/init-package-json> |