@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.
Files changed (2) hide show
  1. package/README.md +4 -2
  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@beta --registry https://registry.npmjs.org/
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 --cluster-id emr-xxx --pretty --debug
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`,便于排查鉴权/权限问题
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volc-emr/emr-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "EMR Command Line Interface - 提交机认证、客户端部署、集群信息查询与集群配置同步工具",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",