1.0.0 • Published 2 years ago
firestore-csv-import v1.0.0
firestore-csv-import
Usage
$ npx firestore-csv-import <csv path> -c <collection name> -p <certification path>Example
$ npx firestore-csv-import test.csv -c tests -p key.json -k id -t date -i idImport csv file
id,name,point
1,hoge,1
2,fuga,2
3,piyo,3Options
-c, --collection
firestore collection name
-p, --path
firebase certification file path
-k, --key
firestore id field
-t, --timestamp
firestore timestamp field (default: false)
-i, --ignore
ignore fields *commma separated
-h, --help
display help for command
1.0.0
2 years ago