bc63eb7d84e22191d703963c6544262b052bf2bc
[platform/upstream/nodejs.git] / deps / npm / man / man1 / npm-completion.1
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-COMPLETION" "1" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-completion\fR \-\- Tab Completion for npm
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 \|\. <(npm completion)
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 Enables tab\-completion in all npm commands\.
18 .
19 .P
20 The synopsis above
21 loads the completions into your current shell\.  Adding it to
22 your ~/\.bashrc or ~/\.zshrc will make the completions available
23 everywhere\.
24 .
25 .P
26 You may of course also pipe the output of npm completion to a file
27 such as \fB/usr/local/etc/bash_completion\.d/npm\fR if you have a system
28 that will read that file for you\.
29 .
30 .P
31 When \fBCOMP_CWORD\fR, \fBCOMP_LINE\fR, and \fBCOMP_POINT\fR are defined in the
32 environment, \fBnpm completion\fR acts in "plumbing mode", and outputs
33 completions based on the arguments\.
34 .
35 .SH "SEE ALSO"
36 .
37 .IP "\(bu" 4
38 npm help  developers
39 .
40 .IP "\(bu" 4
41 npm help  faq
42 .
43 .IP "\(bu" 4
44 npm help npm
45 .
46 .IP "" 0
47