Skip to content

Commit

Permalink
remove-arn-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielsoltz committed Mar 23, 2024
1 parent 6e770f3 commit 78b7089
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
34 changes: 14 additions & 20 deletions aws_arn/get_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,51 +74,45 @@ def get_parser():

group_data = parser.add_argument_group("Data")
group_data.add_argument(
"--service",
default=None,
help="Service name",
required=False,
)
group_data.add_argument(
"--sub-service",
"--partition",
default=None,
help="Sub Service name",
help="Partition",
required=False,
)
group_data.add_argument(
"--arn",
"--service",
default=None,
help="ARN",
help="Service name",
required=False,
)
group_data.add_argument(
"--id",
"--region",
default=None,
help="ID",
help="Region",
required=False,
)
group_data.add_argument(
"--asff-resource",
"--account",
default=None,
help="ID",
help="Account",
required=False,
)
group_data.add_argument(
"--region",
"--sub-service",
default=None,
help="Region",
help="Sub Service name",
required=False,
)
group_data.add_argument(
"--account",
"--id",
default=None,
help="Account",
help="ID",
required=False,
)
group_data.add_argument(
"--partition",
"--asff-resource",
default=None,
help="Partition",
help="ID",
required=False,
)
group_data.add_argument(
Expand Down
1 change: 0 additions & 1 deletion aws_arn/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def main():
id = args.id or ""
service = args.service or ""
sub_service = args.sub_service or ""
arn = args.arn or ""
asff_resource = args.asff_resource or ""
region = args.region or ""
account = args.account or ""
Expand Down

0 comments on commit 78b7089

Please sign in to comment.