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
path: root/man1
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-11-25 04:18:53 +0300
committerisaacs <i@izs.me>2010-11-25 04:33:05 +0300
commit9eaa3dc2c447bb4149f2e8df1627b0f510399eff (patch)
tree2725824d058a35c5bac7229bd915628ec6c5dd25 /man1
parent691083015d3c725c0d3865f0d2d79060d96e7d80 (diff)
Edit command
Diffstat (limited to 'man1')
-rw-r--r--man1/edit.132
1 files changed, 32 insertions, 0 deletions
diff --git a/man1/edit.1 b/man1/edit.1
new file mode 100644
index 000000000..72ca09448
--- /dev/null
+++ b/man1/edit.1
@@ -0,0 +1,32 @@
+.\" Generated with Ronnjs/v0.1
+.\" http://github.com/kapouer/ronnjs/
+.
+.TH "NPM\-EDIT" "1" "November 2010" "" ""
+.
+.SH "NAME"
+\fBnpm-edit\fR \-\- Edit an installed package
+.
+.SH "SYNOPSIS"
+.
+.nf
+npm edit <pkg>[@<version>]
+.
+.fi
+.
+.SH "DESCRIPTION"
+Opens the package folder in the default editor (or whatever you\'ve
+configured as the npm \fBeditor\fR config \-\- see \fBnpm help config\fR\|\.)
+.
+.P
+After it has been edited, the package is rebuilt so as to pick up any
+changes in compiled packages\.
+.
+.P
+Note: If you\'re finding yourself using this a lot, it\'s probably better
+to use \fBnpm link\fR instead\. However, it is extremely handy when used in
+conjunction with \fBnpm bundle\fR\|\.
+.
+.P
+For instance, you can do \fBnpm bundle install connect\fR to install connect
+into your package, and then \fBnpm bundle edit connect\fR to make a few
+changes to your locally bundled copy\.