Skip to main content

awshelp forwards arguments to `aws` unless `-h` or `--help` are present

Project description

pre-commit.ci status

awshelp

awshelp forwards arguments to aws unless -h or --help are present

install + setup

pip install awshelp
alias aws=awshelp

motivation

I am sick and tired of:

awscli 1.x

$ aws s3 --help

Unknown options: --help

awscli 2.x

$ aws s3 --help
usage: aws [-h] [--profile PROFILE] [--debug]

optional arguments:
  -h, --help         show this help message and exit
  --profile PROFILE
  --debug

in action

$ 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!

$ 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awshelp-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

awshelp-1.0.0-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file awshelp-1.0.0.tar.gz.

File metadata

  • Download URL: awshelp-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for awshelp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e1fa05f2eb39067898adebfde867dbf7873d906a0661a298e11a7c0b3602056c
MD5 3487ac31eceee530ced619f69549b853
BLAKE2b-256 14217995d976873fc3ae57216c85fb706bc027b8aa6bdcb84e8601ea9998a79e

See more details on using hashes here.

File details

Details for the file awshelp-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: awshelp-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for awshelp-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 adae766f2428974057b121f453622c7ec466e8fda70a31e8db582e831e0453d1
MD5 d475be78192768088d613227742b336b
BLAKE2b-256 fd1745f40d088274173b9dad490deffd7b3283113b360bbead118525d2874aa4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page