Skip to content

yehudamakarov/db-script-gen

Repository files navigation

db-script-gen

View on NPM

Create script files for database versioning purposes.

GitHub issues NPM License

Example

tutorial

TOC

Usage

$ npm install -g db-script-gen
(make sure your npm global install directory location is on your PATH)
$ db-script-gen COMMAND
running command...
$ db-script-gen (-v|--version|version)
db-script-gen/0.5.4 darwin-x64 node-v14.17.3
$ db-script-gen --help [COMMAND]
USAGE
  $ db-script-gen COMMAND
...

Commands

db-script-gen config

handle your config file and its settings

USAGE
  $ db-script-gen config

OPTIONS
  -c, --check
  -h, --help   show CLI help

See code: src/commands/config.ts

db-script-gen gen

generate a file that will contain scripts for a target database

USAGE
  $ db-script-gen gen

See code: src/commands/gen.ts

db-script-gen help [COMMAND]

display help for db-script-gen

USAGE
  $ db-script-gen help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

About

Create script files for database versioning purposes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages