Permalink
Browse files

added --help to docs

  • Loading branch information...
1 parent 6f66ef0 commit e2d28cc4e3b7bdd58c746e1d6bc0e9887cc4e5f1 @tj committed Sep 9, 2011
Showing with 17 additions and 0 deletions.
  1. +17 −0 Readme.md
View
@@ -7,6 +7,23 @@
$ npm install migrate
+## Usage
+
+```
+Usage: migrate [options] [command]
+
+Options:
+
+ -c, --chdir <path> change the working directory
+
+Commands:
+
+ down migrate down
+ up migrate up (the default command)
+ create [title] create a new migration file with optional [title]
+
+```
+
## Creating Migrations
To create a migration, execute `migrate create` with an optional title. `node-migrate` will create a node module within `./migrations/` which contains the following two exports:

0 comments on commit e2d28cc

Please sign in to comment.