From 680bf51a9fcd1e5c21f2ff527def290d6e0b3c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Wed, 28 Feb 2018 09:52:54 +0000 Subject: [PATCH] docs(readme): update usage --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 025f814..5c22ee7 100644 --- a/README.md +++ b/README.md @@ -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