data-migration-cli
A migration utility for AWS resources
Last updated 4 days ago by benforce .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install data-migration-cli 
SYNC missed versions from official npm registry.

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.6.2 linux-x64 node-v12.16.3
$ migrate --help [COMMAND]
USAGE
  $ migrate COMMAND
...

Commands

migrate down

run all down migration scripts

USAGE
  $ migrate down

OPTIONS
  -h, --help       show CLI help
  --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: src/commands/down.ts

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
  --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: src/commands/init.ts

migrate list

list all migration scripts and their status

USAGE
  $ migrate list

OPTIONS
  -h, --help              show CLI help
  -x, --extended          show extra columns
  --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: src/commands/list.ts

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: src/commands/new.ts

migrate up

run all migration scripts

USAGE
  $ migrate up

OPTIONS
  -h, --help       show CLI help
  --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: src/commands/up.ts

Current Tags

  • 2.6.2                                ...           latest (4 days ago)

46 Versions

  • 2.6.2                                ...           4 days ago
  • 2.6.1                                ...           10 days ago
  • 2.5.2                                ...           2 months ago
  • 2.5.1                                ...           2 months ago
  • 2.5.0                                ...           2 months ago
  • 2.4.20                                ...           2 months ago
  • 2.4.19                                ...           3 months ago
  • 2.4.18                                ...           3 months ago
  • 2.4.17                                ...           3 months ago
  • 2.4.16                                ...           3 months ago
  • 2.4.15                                ...           3 months ago
  • 2.4.14                                ...           3 months ago
  • 2.4.13                                ...           3 months ago
  • 2.4.12                                ...           3 months ago
  • 2.4.11                                ...           3 months ago
  • 2.4.10                                ...           3 months ago
  • 2.4.9                                ...           3 months ago
  • 2.4.8                                ...           3 months ago
  • 2.4.7                                ...           3 months ago
  • 2.4.6                                ...           3 months ago
  • 2.4.5                                ...           3 months ago
  • 2.4.4                                ...           3 months ago
  • 2.4.2                                ...           3 months ago
  • 2.4.0                                ...           3 months ago
  • 2.3.3                                ...           3 months ago
  • 2.3.2                                ...           3 months ago
  • 2.3.1                                ...           3 months ago
  • 2.3.0                                ...           3 months ago
  • 2.2.4                                ...           3 months ago
  • 2.2.3                                ...           3 months ago
  • 2.2.2                                ...           3 months ago
  • 2.2.1                                ...           3 months ago
  • 2.2.0                                ...           3 months ago
  • 2.1.0                                ...           3 months ago
  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           3 months ago
  • 2.0.0                                ...           3 months ago
  • 1.1.7                                ...           3 months ago
  • 1.1.6                                ...           3 months ago
  • 1.1.5                                ...           3 months ago
  • 1.1.4                                ...           3 months ago
  • 1.1.3                                ...           3 months ago
  • 1.1.2                                ...           3 months ago
  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.18                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 22
Last Day 0
Last Week 9
Last Month 25
Dependencies (10)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |