1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

Add parse argument of destination configuration file (#5203)

This commit is contained in:
feiniks
2022-07-01 19:03:52 +08:00
committed by GitHub
parent 8a3196a137
commit f084fc33eb

View File

@@ -201,6 +201,7 @@ class ObjMigrateWorker(Thread):
def main(argv):
parser = argparse.ArgumentParser()
parser.add_argument('--decrypt', action='store_true', help='decrypt data from source storage and write to destination in plain text')
parser.add_argument('config_dir', help='The dir where the destination configuration file exists')
args = parser.parse_args()
decrypt = args.decrypt