yunxiao-code 1.0.4 → 1.0.6

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "yunxiao-code",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "阿里云云效 CLI 工具",
5
5
  "bin": {
6
- "yx-code": "./bin/yunxiao-code.js"
6
+ "yx-code": "bin/yx-code.js"
7
7
  },
8
8
  "scripts": {
9
9
  "postinstall": "node scripts/postinstall.js"
@@ -18,39 +18,39 @@ triggers:
18
18
 
19
19
  | 命令 | 功能 | 用法 |
20
20
  |------|------|------|
21
- | `/yx-init` | 初始化云效配置 | 直接运行,配置 token |
22
- | `/yx-clone` | 克隆仓库 | `/yx-clone <git-url> [-b branch] [-p path]` |
23
- | `/yx-commit` | 提交代码 | 自动分析变更生成 commit message |
24
- | `/yx-push` | 推送代码 | 推送当前分支到远程 |
25
- | `/yx-mr` | 创建合并请求 | `/yx-mr <title> [-d description]` |
21
+ | `/yx-commands:init` | 初始化云效配置 | 直接运行,配置 token |
22
+ | `/yx-commands:clone` | 克隆仓库 | `/yx-commands:clone <git-url>` |
23
+ | `/yx-commands:commit` | 提交代码 | 自动分析变更生成 commit message |
24
+ | `/yx-commands:push` | 推送代码 | 推送当前分支到远程 |
25
+ | `/yx-commands:mr` | 创建合并请求 | `/yx-commands:mr <title>` |
26
26
 
27
27
  ## 典型工作流
28
28
 
29
29
  1. **初始化配置**
30
30
  ```
31
- /yx-init
31
+ /yx-commands:init
32
32
  ```
33
33
  首次使用需要配置云效的 organization_id 和 token。
34
34
 
35
35
  2. **克隆仓库**
36
36
  ```
37
- /yx-clone https://codeup.aliyun.com/xxx/xxx.git
37
+ /yx-commands:clone https://codeup.aliyun.com/xxx/xxx.git
38
38
  ```
39
39
 
40
40
  3. **提交代码**
41
41
  ```
42
- /yx-commit
42
+ /yx-commands:commit
43
43
  ```
44
44
  会自动分析变更并生成合适的 commit message。
45
45
 
46
46
  4. **推送代码**
47
47
  ```
48
- /yx-push
48
+ /yx-commands:push
49
49
  ```
50
50
 
51
51
  5. **创建合并请求**
52
52
  ```
53
- /yx-mr "添加新功能"
53
+ /yx-commands:mr "添加新功能"
54
54
  ```
55
55
 
56
56
  ## 注意事项
File without changes