This commit is contained in:
Shreyas Goenka 2023-06-02 00:04:42 +02:00
parent 2303f20f95
commit 0382c749c5
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ func syncOptionsFromArgs(cmd *cobra.Command, args []string) (*sync.SyncOptions,
// exist and add it to the `.gitignore` file in the root.
SnapshotBasePath: filepath.Join(args[0], ".databricks"),
WorkspaceClient: databricks.Must(databricks.NewWorkspaceClient()),
PersistSnapshot: true,
AllowOverwrites: true,
}
return &opts, nil
}