File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,28 @@ npm install knex-scripts
11
11
## Command Line Usage
12
12
13
13
```
14
- Usage: knex-scripts [options] [command]
14
+ Usage: cli [options] [command]
15
15
16
16
17
17
Options:
18
18
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
25
26
26
27
27
28
Commands:
28
29
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.
34
36
```
35
37
36
38
## Node API Usage
You can’t perform that action at this time.
0 commit comments