mrchristine/db-migration

--reset-exports arg defaults to true

Closed this issue · 1 comments

When running from PowerShell with the following options (i.e. not specifying --reset-exports explicitly)

python $localFolder/db-migration-master/export_db.py --azure --metastore --silent

The script will always ask for input on clearing the export folder. This means when trying to automate this is not possible through PowerShell (In this case this is for running through a cd pipeline).

image

It would be good to be able to explicitly set the --reset-exports to false, or it defaults to false correctly.

needed to add -m to python switch from powershell to actual run the script....