Skip to content

Commit 680bf51

Browse files
committed
docs(readme): update usage
1 parent cc2c27b commit 680bf51

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,28 @@ npm install knex-scripts
1111
## Command Line Usage
1212

1313
```
14-
Usage: knex-scripts [options] [command]
14+
Usage: cli [options] [command]
1515
1616
1717
Options:
1818
19-
-V, --version output the version number
20-
--docker Use docker.
21-
--knexfile [path] Specify the knexfile path.
22-
--cwd [path] Specify the working directory.
23-
--env [name] environment, default: process.env.NODE_ENV || development
24-
-h, --help output usage information
19+
-V, --version output the version number
20+
--docker Use docker.
21+
--docker-service [service] Docker service name, default: "postgres".
22+
--knexfile [path] Specify the knexfile path.
23+
--cwd [path] Specify the working directory.
24+
--env [name] environment, default: process.env.NODE_ENV || development
25+
-h, --help output usage information
2526
2627
2728
Commands:
2829
29-
create Create database.
30-
drop Drop database.
31-
dump Dump database.
32-
load Load database.
33-
truncate Truncate all tables.
30+
create Create database.
31+
drop Drop database.
32+
dump Dump database.
33+
load Load database.
34+
check-structure Check structure.
35+
truncate Truncate all tables.
3436
```
3537

3638
## Node API Usage

0 commit comments

Comments
 (0)