Metadata-Version: 2.1
Name: awshelp
Version: 1.0.0
Summary: awshelp forwards arguments to `aws` unless `-h` or `--help` are present
Home-page: https://github.com/asottile/awshelp
Author: Anthony Sottile
Author-email: asottile@umich.edu
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.1
Description-Content-Type: text/markdown

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/awshelp/master.svg)](https://results.pre-commit.ci/latest/github/asottile/awshelp/master)

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 --help

Unknown 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.
```


