awshelp 将参数传递给 `aws`,除非存在 `-h` 或 `--help`。
项目描述
awshelp
awshelp 将参数传递给 aws
,除非存在 -h
或 --help
。
安装 + 设置
pip install awshelp
alias aws=awshelp
动机
我已经厌倦了
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
在行动中
$ 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.
即使你有参数,它也能工作!
$ 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.
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
awshelp-1.0.0.tar.gz (3.0 kB 查看哈希值)
构建分布
awshelp-1.0.0-py2.py3-none-any.whl (3.2 kB 查看哈希值)
关闭
awshelp-1.0.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e1fa05f2eb39067898adebfde867dbf7873d906a0661a298e11a7c0b3602056c |
|
MD5 | 3487ac31eceee530ced619f69549b853 |
|
BLAKE2b-256 | 14217995d976873fc3ae57216c85fb706bc027b8aa6bdcb84e8601ea9998a79e |