@volc-emr/emr-cli 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ EMR Command Line Interface,面向 ECS 提交机的认证初始化、客户端
|
|
|
5
5
|
## 安装(npmjs)
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g @volc-emr/emr-cli
|
|
8
|
+
npm install -g @volc-emr/emr-cli --registry https://registry.npmjs.org/
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## 使用
|
|
@@ -13,10 +13,12 @@ npm install -g @volc-emr/emr-cli@beta --registry https://registry.npmjs.org/
|
|
|
13
13
|
```bash
|
|
14
14
|
emr-cli --help
|
|
15
15
|
emr-cli auth init
|
|
16
|
-
emr-cli cluster get
|
|
16
|
+
emr-cli cluster get --pretty
|
|
17
|
+
emr-cli cluster get --cluster-id emrxxx --pretty
|
|
17
18
|
```
|
|
18
19
|
|
|
19
20
|
## 说明
|
|
20
21
|
|
|
21
22
|
- `cluster get` 调用 Volc EMR OpenAPI `GetCluster`
|
|
23
|
+
- `--pretty` 会格式化输出集群信息,便于阅读
|
|
22
24
|
- `--debug` 会输出 `RequestId` 与签名用的 `CanonicalRequest`,便于排查鉴权/权限问题
|