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 hashes)

Uploaded source

Built Distribution

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

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page