From 9bdc093635b02346a3c4723ac2dd8b291b7151ad Mon Sep 17 00:00:00 2001 From: Nareh Sahakian Date: Tue, 29 Oct 2024 12:59:25 -0400 Subject: [PATCH] update arg names to match portal --- python/add_public_cloud_reference.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python/add_public_cloud_reference.py b/python/add_public_cloud_reference.py index 826a09fc..da19c407 100644 --- a/python/add_public_cloud_reference.py +++ b/python/add_public_cloud_reference.py @@ -78,10 +78,10 @@ def copy_files_to_public_bucket(self) -> None: def get_args() -> argparse.Namespace: parser = argparse.ArgumentParser(description="Add a new public cloud reference") - parser.add_argument("-n", "--name", required=True, type=str, help="The name of the reference to add") - parser.add_argument("-i", "--input_cloud_location", required=True, type=str, help="The current cloud location") - parser.add_argument("-o", "--output_cloud_location", required=True, type=str, help="The new cloud location") - parser.add_argument("-r", "--read_me_path", required=True, type=str, help="The path to the README file") + parser.add_argument("--reference_name", required=True, type=str, help="The name of the reference to add") + parser.add_argument("--current_location", required=True, type=str, help="The current cloud location") + parser.add_argument("--new_location", required=True, type=str, help="The new cloud location") + parser.add_argument("--attachment", required=True, type=str, help="The path to the README file") return parser.parse_args() @@ -89,8 +89,8 @@ def get_args() -> argparse.Namespace: if __name__ == '__main__': args = get_args() CopyPublicCloudReference( - reference_name=args.name, - current_cloud_path=args.input_cloud_location, - output_cloud_path=args.output_cloud_location, - read_me_path=args.read_me_path + reference_name=args.reference_name, + current_cloud_path=args.current_location, + output_cloud_path=args.new_location, + read_me_path=args.attachment ).copy_files_to_public_bucket()