提交 5593617b 编写于 作者: U utsavoza

Add switch for firestore service auth file path

上级 400b5054
......@@ -53,6 +53,7 @@ func runImport(args []string) error {
srcRegex := flagset.String("src_filter", ".*", "Namespace filter for source")
test := flagset.Bool("test", false, `if set to true, only pipeline is created and sync is not started.
Useful for checking your configuration`)
sacPath := flagset.String("sac_path", "./ServiceAccountKey.json", "Path to firebase service account credentials file")
transformFile := flagset.String("transform_file", "", "transform file to use")
......@@ -92,6 +93,7 @@ func runImport(args []string) error {
"replication_slot": *replicationSlot,
// "timeout": *timeout,
"srcRegex": *srcRegex,
"sacPath": *sacPath,
"_transform_": *transformFile,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册