Examples of how to add custom commands to the aws-cli.
Install the plugin as a python package.
pip install -U git+https://github.com/nitrocode/aws-cli-plugins.git
aws configure set plugins.helloworld awshelloworld
$ aws helloworld
Hi Bob!
$ aws helloworld --name Tom
Hi Tom!
- add
say-hello
subcommand tohelloworld
used by @RichardBronosky - add a subcommand to an existing cli
- use the correct package format e.g. used by @shiftgig
- Original by RichardBronosky was very helpful as a base.
- Issues aws-cli#1261 and aws-cli#2350 had some insight.
- shiftgig's awscli-console-login registered a new command without the help message shown as expected.