Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asottile/awshelp
awshelp forwards arguments to `aws` unless `-h` or `--help` are present
https://github.com/asottile/awshelp
Last synced: 12 days ago
JSON representation
awshelp forwards arguments to `aws` unless `-h` or `--help` are present
- Host: GitHub
- URL: https://github.com/asottile/awshelp
- Owner: asottile
- License: mit
- Created: 2020-11-21T03:52:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T00:31:11.000Z (22 days ago)
- Last Synced: 2024-10-22T21:28:51.066Z (22 days ago)
- Language: Python
- Size: 175 KB
- Stars: 20
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/awshelp/main.svg)](https://results.pre-commit.ci/latest/github/asottile/awshelp/main)
awshelp
=======awshelp forwards arguments to `aws` unless `-h` or `--help` are present
### install + setup
```bash
pip install awshelp
alias aws=awshelp
```### motivation
I am sick and tired of:
**awscli 1.x**
```console
$ aws s3 --helpUnknown options: --help
```**awscli 2.x**
```console
$ aws s3 --help
usage: aws [-h] [--profile PROFILE] [--debug]optional arguments:
-h, --help show this help message and exit
--profile PROFILE
--debug
```### in action
```console
$ aws s3 cp --help | head -10
awshelp: aws does not like --help, but I got you!
CP() CP()NAME
cp -DESCRIPTION
Copies a local file or S3 object to another location locally or in S3.
```it even works if you have arguments!
```console
$ aws s3 cp foo bar --help | head -10
awshelp: aws does not like --help, but I got you!
CP() CP()NAME
cp -DESCRIPTION
Copies a local file or S3 object to another location locally or in S3.
```