diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46f0276..d2f03cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,8 +24,8 @@ jobs: - name: Build specs run: rye run aws continue-on-error: true - - name: Remove ec2 - run: rm export/ts/aws/ec2.ts + - name: Remove ec2 and s3 + run: rm export/ts/aws/ec2.ts export/ts/aws/s3.ts - name: Run prettier run: npx -y prettier --ignore-path=.prettierignore -w export/ts - uses: withfig/push-to-fig-autocomplete-action@v2 diff --git a/src/aws_cli_plugin/__init__.py b/src/aws_cli_plugin/__init__.py index 6d074de..f0fd8ec 100644 --- a/src/aws_cli_plugin/__init__.py +++ b/src/aws_cli_plugin/__init__.py @@ -193,7 +193,17 @@ def read_commands(command_table, session, **kwargs): if kwargs["event_name"] != "building-command-table.main": return - root = {"name": "aws", "subcommands": []} + root = { + "name": "aws", + "options": [ + { + "name": "--profile", + "description": "Use a specific profile from your credential file", + "args": {}, + }, + ], + "subcommands": [], + } for command_name in command_table: command = command_table[command_name]