本工具提供了一个命令行环境,来方便与 UCloud API 的交互,
如果你对 GNU 系列工具有基本的了解,那么你甚至可以直接上手,无需查看任何帮助。
## 特色功能如下:
1. 完整的命令补全(包含命令名称、枚举参数);
2. 详尽的帮助文档,与官方保持一致;
3. 数据、代码分离,API 若有变化,仅需更新 .json 配置文件;
4. 支持 OSX / Linux or Unix(?)。
## 安装
```
pip install ucloud-cli
```
## 使用
首先保存如下示例的文件到个人目录的 ~/.ucloudrc 文件中
```
; Sample UCloud config file
[ucloud]
public_key=
private_key=
base_url=https://api.ucloud.cn
```
接着执行命令
```
ucloud-cli
```
## 说明
### 查看帮助
```
>>> help foo
```
### 切换默认数据中心
```
>>> region bar
```
### 与 API 交互
```
>>> DescribeBucket Offset=0
```
### 非交互模式下使用
```
$ ucloud-cli DescribeBucket Offset=0
```
## 其他
时间仓促,难免有考虑不周的地方,欢迎扔 issue :D
Metadata
Release files for ucloud-cli 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ucloud-cli-0.6.tar.gz | 17.6 kB | Without provenance | Details for ucloud-cli-0.6.tar.gz |
Release files / ucloud-cli-0.6.tar.gz
| Download URL | ucloud-cli-0.6.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52de5d5bad8896ed177d4e649b2249311cd5660cc02d3d3bf72945bcc88697a9
|
|
BLAKE2b-256 checksum How to use checksums |
b9cc97459640b670f8b46e8df5f040708bb19d13f6b7eef1dcb4b44f86cd3863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ucloud-cli 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.