Skip to content

Commit

Permalink
Using nargs for account_number argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Apr 25, 2024
1 parent adafb03 commit cdadfbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Support/taskdef_template/taskdef_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def __init__(self):
"taskdef_template", type=str, help="Template json file to be used",
default=".github/taskdefinition_template/taskdef_template.json",
)
parser.add_argument("account_number", type=str,
help="AWS account number to be used for deployment", default=""
parser.add_argument("account_number", type=str, nargs="?",
help="AWS account number to be used for deployment"
)
parser.add_argument("-app", "--app_name", type=str,
help="ECS app name", default=""
Expand Down

0 comments on commit cdadfbd

Please sign in to comment.