@dayspringpartners/neo4jmigrate
v1.0.4
Published
This is a tool for applying migration scripts to neo4j database.
Downloads
6
Readme
neo4jmigrate
This is a tool for applying migration scripts to neo4j database.
This tool depends on having the neo4j cypher-shell installed.
Usage
$ npm install -g @dayspringpartners/neo4jmigrate
$ nmigrate COMMAND
running command...
$ nmigrate (-v|--version|version)
@dayspringpartners/neo4jmigrate/1.0.4 darwin-x64 node-v14.17.3
$ nmigrate --help [COMMAND]
USAGE
$ nmigrate COMMAND
...
Commands
nmigrate apply PATH
Apply unapplied migrations from path now.
USAGE
$ nmigrate apply PATH
OPTIONS
-a, --address=address [default: bolt://localhost:7687] neo4j host url e.g. bolt://localhost:7687
-d, --database=database [default: neo4j] neo4j database name
-h, --help show CLI help
-p, --password=password (required) neo4j user password
-u, --username=username [default: neo4j] neo4j user name
See code: src/commands/apply.ts
nmigrate help [COMMAND]
display help for nmigrate
USAGE
$ nmigrate help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
nmigrate status PATH
Display the current db migration level.
USAGE
$ nmigrate status PATH
OPTIONS
-a, --address=address [default: bolt://localhost:7687] neo4j host url e.g. bolt://localhost:7687
-d, --database=database [default: neo4j] neo4j database name
-h, --help show CLI help
-p, --password=password (required) neo4j user password
-u, --username=username [default: neo4j] neo4j user name
See code: src/commands/status.ts