2.10.2 • Published 4 years ago

data-migration-cli v2.10.2

Weekly downloads
37
License
MIT
Repository
github
Last release
4 years ago

data-migration-cli

A migration utility for AWS resources

oclif Documentation Version Downloads/week License

Usage

$ npm install -g data-migration-cli
$ migrate COMMAND
running command...
$ migrate (-v|--version|version)
data-migration-cli/2.10.2 linux-x64 node-v12.19.0
$ migrate --help [COMMAND]
USAGE
  $ migrate COMMAND
...

Commands

migrate down [NUMBERTORUN]

run down migration scripts

USAGE
  $ migrate down [NUMBERTORUN]

ARGUMENTS
  NUMBERTORUN  [default: 1] number of down scripts to execute

OPTIONS
  -h, --help               show CLI help
  --awsProfile=awsProfile  AWS Profile to use
  --config=config          [default: ./.dm.config.ts] Path to the configuration file
  --scope=scope            Script scope to use
  --stage=stage            Stage name to use

See code: lib/commands/down.js

migrate help [COMMAND]

display help for migrate

USAGE
  $ migrate help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

migrate init

Creates a basic configuration in the current directory

USAGE
  $ migrate init

OPTIONS
  -d, --directory=directory  [default: migrations] Path to migration directory
  -h, --help                 show CLI help
  --awsProfile=awsProfile    AWS Profile to use
  --config=config            [default: ./.dm.config.ts] Path to the configuration file
  --scope=scope              Script scope to use
  --stage=stage              Stage name to use

See code: lib/commands/init.js

migrate list

list all migration scripts and their status

USAGE
  $ migrate list

OPTIONS
  -h, --help               show CLI help
  -x, --extended           show extra columns
  --awsProfile=awsProfile  AWS Profile to use
  --columns=columns        only show provided columns (comma-separated)
  --config=config          [default: ./.dm.config.ts] Path to the configuration file
  --csv                    output is csv format [alias: --output=csv]
  --filter=filter          filter property by partial string matching, ex: name=foo
  --no-header              hide table header from output
  --no-truncate            do not truncate output to fit screen
  --output=csv|json|yaml   output in a more machine friendly format
  --scope=scope            Script scope to use
  --sort=sort              property to sort by (prepend '-' for descending)
  --stage=stage            Stage name to use

See code: lib/commands/list.js

migrate new NAME

Create a new migration script

USAGE
  $ migrate new NAME

OPTIONS
  -h, --help       show CLI help
  --config=config  [default: ./.dm.config.ts] Path to the configuration file
  --scope=scope    Script scope to use

See code: lib/commands/new.js

migrate reset

run all down migration scripts

USAGE
  $ migrate reset

OPTIONS
  -h, --help               show CLI help
  --awsProfile=awsProfile  AWS Profile to use
  --config=config          [default: ./.dm.config.ts] Path to the configuration file
  --scope=scope            Script scope to use
  --stage=stage            Stage name to use

See code: lib/commands/reset.js

migrate up

run all migration scripts

USAGE
  $ migrate up

OPTIONS
  -h, --help               show CLI help
  --awsProfile=awsProfile  AWS Profile to use
  --config=config          [default: ./.dm.config.ts] Path to the configuration file
  --scope=scope            Script scope to use
  --stage=stage            Stage name to use

See code: lib/commands/up.js

2.10.2

4 years ago

2.10.1

4 years ago

2.10.0

4 years ago

2.9.1

4 years ago

2.9.0

4 years ago

2.8.5

4 years ago

2.8.4

4 years ago

2.8.3

4 years ago

2.8.2

4 years ago

2.8.1

4 years ago

2.8.0

4 years ago

2.7.3

4 years ago

2.7.2

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.1

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.20

4 years ago

2.4.19

4 years ago

2.4.18

4 years ago

2.4.17

4 years ago

2.4.16

4 years ago

2.4.15

4 years ago

2.4.14

4 years ago

2.4.13

4 years ago

2.4.12

4 years ago

2.4.11

4 years ago

2.4.10

4 years ago

2.4.7

4 years ago

2.4.9

4 years ago

2.4.8

4 years ago

2.4.6

4 years ago

2.4.5

4 years ago

2.4.2

4 years ago

2.4.4

4 years ago

2.4.0

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.3

4 years ago

2.2.4

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.18

4 years ago