Skip to content

Commit

Permalink
update arg names to match portal
Browse files Browse the repository at this point in the history
  • Loading branch information
sahakiann committed Oct 29, 2024
1 parent ffef7b4 commit 9bdc093
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions python/add_public_cloud_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ 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()


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()

0 comments on commit 9bdc093

Please # to comment.