gitcode-cli 0.2.8__py3-none-any.whl → 0.2.13__py3-none-any.whl

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.
gc_cli/__init__.py CHANGED
@@ -4,7 +4,7 @@ GitCode CLI - Command line tool for GitCode.
4
4
  This package provides a Python wrapper for the gc binary.
5
5
  """
6
6
 
7
- __version__ = "0.2.8"
7
+ __version__ = "0.2.13"
8
8
  __author__ = "GitCode CLI Contributors"
9
9
  __all__ = ["__version__", "main"]
10
10
 
Binary file
Binary file
gc_cli/bin/gc-linux-amd64 CHANGED
Binary file
gc_cli/bin/gc-linux-arm64 CHANGED
Binary file
Binary file
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-cli
3
- Version: 0.2.8
3
+ Version: 0.2.13
4
4
  Summary: GitCode CLI - Command line tool for GitCode
5
5
  Author-email: GitCode CLI Contributors <support@gitcode.com>
6
6
  Maintainer-email: GitCode CLI Contributors <support@gitcode.com>
7
- License: MIT
7
+ License-Expression: MIT
8
8
  Project-URL: Homepage, https://gitcode.com/gitcode-cli/cli
9
9
  Project-URL: Documentation, https://gitcode.com/gitcode-cli/cli
10
10
  Project-URL: Repository, https://gitcode.com/gitcode-cli/cli
@@ -13,7 +13,6 @@ Keywords: gitcode,cli,git,devops
13
13
  Classifier: Development Status :: 4 - Beta
14
14
  Classifier: Environment :: Console
15
15
  Classifier: Intended Audience :: Developers
16
- Classifier: License :: OSI Approved :: MIT License
17
16
  Classifier: Operating System :: OS Independent
18
17
  Classifier: Programming Language :: Python :: 3
19
18
  Classifier: Programming Language :: Python :: 3.8
@@ -30,9 +29,11 @@ Dynamic: license-file
30
29
 
31
30
  # GitCode CLI
32
31
 
32
+ [![AI 操作指南](https://img.shields.io/badge/📖_使用_AI_操作_GitCode_指南-点击查看-FF6B6B?style=for-the-badge)](./docs/AI-GUIDE.md)
33
+
33
34
  [![Go Version](https://img.shields.io/badge/Go-1.22+-00ADD8?style=flat&logo=go)](https://golang.org)
34
35
  [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
35
- [![Release](https://img.shields.io/github/v/release/gitcode-cli/cli?include_prereleases)](https://gitcode.com/gitcode-cli/cli/releases)
36
+ [![Release](https://img.shields.io/badge/Release-v0.2.12-blue)](https://gitcode.com/gitcode-cli/cli/releases)
36
37
 
37
38
  GitCode 命令行工具,为 GitCode 用户提供便捷的命令行操作体验。
38
39
 
@@ -63,20 +64,20 @@ export PATH="$HOME/.local/bin:$PATH"
63
64
 
64
65
  ```bash
65
66
  # 从 Releases 下载 .deb 包
66
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.5/gc_0.2.5_amd64.deb
67
+ wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.12/gc_0.2.12_amd64.deb
67
68
 
68
69
  # 安装
69
- sudo dpkg -i gc_0.2.5_amd64.deb
70
+ sudo dpkg -i gc_0.2.12_amd64.deb
70
71
  ```
71
72
 
72
73
  **RPM (RHEL/CentOS/Fedora):**
73
74
 
74
75
  ```bash
75
76
  # 从 Releases 下载 .rpm 包
76
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.5/gc-0.2.5-1.x86_64.rpm
77
+ wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.2.12/gc-0.2.12-1.x86_64.rpm
77
78
 
78
79
  # 安装
79
- sudo rpm -i gc-0.2.5-1.x86_64.rpm
80
+ sudo rpm -i gc-0.2.12-1.x86_64.rpm
80
81
  ```
81
82
 
82
83
  ### PyPI (跨平台)
@@ -185,20 +186,32 @@ gc issue comment 123 --body "Comment text"
185
186
 
186
187
  # 管理 Issue 标签
187
188
  gc issue label 123 --add bug,enhancement
189
+
190
+ # 查看 Issue 关联的 PRs
191
+ gc issue prs 123
188
192
  ```
189
193
 
190
194
  ### Pull Request 管理
191
195
 
192
196
  ```bash
193
- # 创建 PR
197
+ # 创建 PR(自动检测当前分支)
194
198
  gc pr create --title "New feature" --base main
195
199
 
200
+ # 创建跨仓库 PR(从 fork 到 upstream)
201
+ gc pr create -R upstream/repo --fork myfork/repo --title "Feature"
202
+
196
203
  # 列出 PR
197
204
  gc pr list --state open
198
205
 
199
206
  # 查看 PR 详情
200
207
  gc pr view 456
201
208
 
209
+ # 查看 PR 评论
210
+ gc pr comments 456
211
+
212
+ # 回复 PR 评论
213
+ gc pr reply 456 --discussion <discussion_id> --body "Reply text"
214
+
202
215
  # 检出 PR 分支
203
216
  gc pr checkout 456
204
217
 
@@ -321,6 +334,7 @@ source ~/.config/fish/config.fish
321
334
 
322
335
  - [命令指南](./docs/COMMANDS.md) - 所有命令的详细使用说明和示例
323
336
  - [版本发布](./RELEASE.md) - 发布流程和产物说明
337
+ - [AI 操作指南](./docs/AI-GUIDE.md) - 使用 AI 助手操作 GitCode 的完整指南
324
338
  - [打包发布](./docs/PACKAGING.md) - DEB/RPM 包构建和发布流程
325
339
  - [贡献指南](./CONTRIBUTING.md) - 开发和发布流程
326
340
  - [安全策略](./SECURITY.md) - 敏感信息保护和安全规范
@@ -0,0 +1,14 @@
1
+ gc_cli/__init__.py,sha256=v7ZKbRU4kXr-TeAdvaJuJrt0uc4dpttM9iArBKQ_KJ8,242
2
+ gc_cli/wrapper.py,sha256=bJ5aqTRADaV_GX079pBPVhzbRYDZwjaRoK1nmUjVIoE,2119
3
+ gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ gc_cli/bin/gc-darwin-amd64,sha256=2KDMnRiZY0EHxykJv6Ws92a6PsgP-p4EyPCgaNgxQnY,7837504
5
+ gc_cli/bin/gc-darwin-arm64,sha256=XPlVwQQvWl30SC0hetlfx7xfNtgrZ1RnRdC3uLvg9L8,7527202
6
+ gc_cli/bin/gc-linux-amd64,sha256=mpXgWDrLnb12OoY1rjVUnWlV60Fj2XHiHs8HzMNvJKA,7631000
7
+ gc_cli/bin/gc-linux-arm64,sha256=BtOI81diBCrt8_9tev3mB3mmnXAHs1NIKK1gmnCSph0,7340184
8
+ gc_cli/bin/gc-windows-amd64.exe,sha256=2UPt5x1keSCWuyrBY2yy6cMRtJE6qEtZNyRIlXBIji0,7902720
9
+ gitcode_cli-0.2.13.dist-info/licenses/LICENSE,sha256=WsjkQaj0PPK_TKVoHDok218rd8JZdj1GIJ5TrrZD6jE,1253
10
+ gitcode_cli-0.2.13.dist-info/METADATA,sha256=uhypZYLfDE7LPTm5NXcqTCHe5GsGueLUunCCggREN_I,9025
11
+ gitcode_cli-0.2.13.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
+ gitcode_cli-0.2.13.dist-info/entry_points.txt,sha256=IXAR-ST1fHD9LRD7nYjxTBfXjI_CgfEc3BPZmLef2OY,43
13
+ gitcode_cli-0.2.13.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
14
+ gitcode_cli-0.2.13.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- gc_cli/__init__.py,sha256=9gFp7T299D2E1TC0q19rWSd4kDC-46hYBL_1PpZ6OiM,241
2
- gc_cli/wrapper.py,sha256=bJ5aqTRADaV_GX079pBPVhzbRYDZwjaRoK1nmUjVIoE,2119
3
- gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- gc_cli/bin/gc-darwin-amd64,sha256=mI8xK1rWc4dfQouc-zza7mT85RmigvLNQT7lRX-cFbg,7816352
5
- gc_cli/bin/gc-darwin-arm64,sha256=mjZNAPnYuaU8hTlPXalKCC4ofb_cJ8bPiWg4zORF7Rk,7510002
6
- gc_cli/bin/gc-linux-amd64,sha256=nALLy-HlWRtrCqRGqUqWXkoHHLmEW2u1qqmBimpNLnQ,7606424
7
- gc_cli/bin/gc-linux-arm64,sha256=pPnHRFLJOdPhHdEejwAUF8njjWlz4YBPThCHFr8Nb0s,7340184
8
- gc_cli/bin/gc-windows-amd64.exe,sha256=PdaBSBfJBYdD6WWM5M5x8DO65BOE4ZDK4oYH6w81Knc,7881728
9
- gitcode_cli-0.2.8.dist-info/licenses/LICENSE,sha256=WsjkQaj0PPK_TKVoHDok218rd8JZdj1GIJ5TrrZD6jE,1253
10
- gitcode_cli-0.2.8.dist-info/METADATA,sha256=KIqrqjAd8AVa7kA50iz_H0-5y_nM789R5Ezg5S66J1k,8529
11
- gitcode_cli-0.2.8.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
- gitcode_cli-0.2.8.dist-info/entry_points.txt,sha256=IXAR-ST1fHD9LRD7nYjxTBfXjI_CgfEc3BPZmLef2OY,43
13
- gitcode_cli-0.2.8.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
14
- gitcode_cli-0.2.8.dist-info/RECORD,,