Skip to content

Commit

Permalink
Fix help for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinsID committed Apr 9, 2022
1 parent 1de51ee commit 7735595
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/containerapp/azext_containerapp/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,11 @@ def load_arguments(self, _):
with self.argument_context('containerapp ingress traffic') as c:
c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'")

with self.argument_context('containerapp secret set') as c:
with self.argument_context('containerapp secret') as c:
c.argument('secrets', nargs='+', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' format.")

with self.argument_context('containerapp secret show') as c:
c.argument('secret_name', help="The name of the secret to show.")

with self.argument_context('containerapp secret remove') as c:
c.argument('secret_names', nargs='+', help="A list of secret(s) for the container app. Space-separated secret values names.")
c.argument('show_values', help='Show the secret values.')

with self.argument_context('containerapp env dapr-component') as c:
c.argument('dapr_app_id', help="The Dapr app ID.")
Expand All @@ -178,8 +175,5 @@ def load_arguments(self, _):
with self.argument_context('containerapp registry list') as c:
c.argument('name', id_part=None)

with self.argument_context('containerapp secret list') as c:
c.argument('name', id_part=None)

with self.argument_context('containerapp revision list') as c:
c.argument('name', id_part=None)

0 comments on commit 7735595

Please sign in to comment.