transfire
v0.0.1
Published
SQL Server to Google Firestore Migration CLI
Downloads
3
Readme
@fornya/transfire
SQL Server to Google Firestore Migration CLI
Usage
$ npm install -g transfire
$ transfire COMMAND
running command...
$ transfire (-v|--version|version)
transfire/0.0.1 darwin-x64 node-v16.13.0
$ transfire --help [COMMAND]
USAGE
$ transfire COMMAND
...
Commands
transfire config [ACTION]
Configure Google Cloud Service Account
USAGE
$ transfire config [ACTION]
OPTIONS
-f, --file=file Service Account JSON path
-h, --help show CLI help
EXAMPLE
$ transfire config sa --file=./path/to/my/serviceaccount.json
See code: src/commands/config.ts
transfire help [COMMAND]
display help for transfire
USAGE
$ transfire help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
transfire mssql [MSSQLTABLENAME] [CUSTOM_ID]
migrate a Microsoft SQL Server Table to Google Firestore document collections
USAGE
$ transfire mssql [MSSQLTABLENAME] [CUSTOM_ID]
OPTIONS
-d, --database=database MSSQL Database name
-h, --help show CLI help
-p, --password=password MSSQL Database Password
-s, --server=server MSSQL Database Host
-u, --username=username MSSQL Database Username
EXAMPLE
$ transfire mssql MySQLTable CUSTOM_ID -d=mysqldb -s=192.168.10.12 -u=sa -p=myP@55word
See code: src/commands/mssql.ts