Skip to content

Commit

Permalink
docs(readme): update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Feb 28, 2018
1 parent cc2c27b commit 680bf51
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,28 @@ npm install knex-scripts
## Command Line Usage

```
Usage: knex-scripts [options] [command]
Usage: cli [options] [command]
Options:
-V, --version output the version number
--docker Use docker.
--knexfile [path] Specify the knexfile path.
--cwd [path] Specify the working directory.
--env [name] environment, default: process.env.NODE_ENV || development
-h, --help output usage information
-V, --version output the version number
--docker Use docker.
--docker-service [service] Docker service name, default: "postgres".
--knexfile [path] Specify the knexfile path.
--cwd [path] Specify the working directory.
--env [name] environment, default: process.env.NODE_ENV || development
-h, --help output usage information
Commands:
create Create database.
drop Drop database.
dump Dump database.
load Load database.
truncate Truncate all tables.
create Create database.
drop Drop database.
dump Dump database.
load Load database.
check-structure Check structure.
truncate Truncate all tables.
```

## Node API Usage
Expand Down

0 comments on commit 680bf51

Please sign in to comment.