gitcode-cli 0.5.6__py3-none-any.whl → 0.5.9__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 +1 -1
- gc_cli/bin/gc-darwin-amd64 +0 -0
- gc_cli/bin/gc-darwin-arm64 +0 -0
- gc_cli/bin/gc-linux-amd64 +0 -0
- gc_cli/bin/gc-linux-arm64 +0 -0
- gc_cli/bin/gc-windows-amd64.exe +0 -0
- {gitcode_cli-0.5.6.dist-info → gitcode_cli-0.5.9.dist-info}/METADATA +24 -21
- gitcode_cli-0.5.9.dist-info/RECORD +15 -0
- gitcode_cli-0.5.6.dist-info/RECORD +0 -15
- {gitcode_cli-0.5.6.dist-info → gitcode_cli-0.5.9.dist-info}/WHEEL +0 -0
- {gitcode_cli-0.5.6.dist-info → gitcode_cli-0.5.9.dist-info}/entry_points.txt +0 -0
- {gitcode_cli-0.5.6.dist-info → gitcode_cli-0.5.9.dist-info}/licenses/LICENSE +0 -0
- {gitcode_cli-0.5.6.dist-info → gitcode_cli-0.5.9.dist-info}/top_level.txt +0 -0
gc_cli/__init__.py
CHANGED
gc_cli/bin/gc-darwin-amd64
CHANGED
|
Binary file
|
gc_cli/bin/gc-darwin-arm64
CHANGED
|
Binary file
|
gc_cli/bin/gc-linux-amd64
CHANGED
|
Binary file
|
gc_cli/bin/gc-linux-arm64
CHANGED
|
Binary file
|
gc_cli/bin/gc-windows-amd64.exe
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitcode-cli
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.9
|
|
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>
|
|
@@ -33,7 +33,7 @@ Dynamic: license-file
|
|
|
33
33
|
|
|
34
34
|
[](https://golang.org)
|
|
35
35
|
[](LICENSE)
|
|
36
|
-
[](https://gitcode.com/gitcode-cli/cli/releases)
|
|
37
37
|
|
|
38
38
|
GitCode 命令行工具,为 GitCode 用户提供便捷的命令行操作体验。
|
|
39
39
|
|
|
@@ -55,6 +55,7 @@ GitCode 命令行工具,为 GitCode 用户提供便捷的命令行操作体验
|
|
|
55
55
|
- [回归说明](./docs/REGRESSION.md)
|
|
56
56
|
- [打包说明](./docs/PACKAGING.md)
|
|
57
57
|
- [AI 操作指南(外部项目)](./docs/AI-GUIDE.md)
|
|
58
|
+
- [应用案例库](./Example/index.md)
|
|
58
59
|
- [开发规范](./spec/README.md)
|
|
59
60
|
- [真相源矩阵](./spec/governance/source-of-truth-matrix.md)
|
|
60
61
|
- [AI 本地开发流程](./spec/workflows/ai-local-development-workflow.md)
|
|
@@ -98,10 +99,10 @@ export PATH="$HOME/.local/bin:$PATH"
|
|
|
98
99
|
|
|
99
100
|
```bash
|
|
100
101
|
# 从 Releases 下载 .deb 包
|
|
101
|
-
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.
|
|
102
|
+
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.9/gc_0.5.9_amd64.deb
|
|
102
103
|
|
|
103
104
|
# 安装
|
|
104
|
-
sudo dpkg -i gc_0.5.
|
|
105
|
+
sudo dpkg -i gc_0.5.9_amd64.deb
|
|
105
106
|
```
|
|
106
107
|
|
|
107
108
|
DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
@@ -110,10 +111,10 @@ DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
|
110
111
|
|
|
111
112
|
```bash
|
|
112
113
|
# 从 Releases 下载 .rpm 包
|
|
113
|
-
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.
|
|
114
|
+
wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.9/gc-0.5.9-1.x86_64.rpm
|
|
114
115
|
|
|
115
116
|
# 安装
|
|
116
|
-
sudo rpm -i gc-0.5.
|
|
117
|
+
sudo rpm -i gc-0.5.9-1.x86_64.rpm
|
|
117
118
|
```
|
|
118
119
|
|
|
119
120
|
DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
|
|
@@ -129,7 +130,7 @@ source .venv/bin/activate # Linux/macOS
|
|
|
129
130
|
# .venv\Scripts\activate # Windows
|
|
130
131
|
|
|
131
132
|
# 安装(一行命令)
|
|
132
|
-
pip install https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.
|
|
133
|
+
pip install https://gitcode.com/gitcode-cli/cli/releases/download/v0.5.9/gitcode_cli-0.5.9-py3-none-any.whl
|
|
133
134
|
|
|
134
135
|
# Windows PowerShell 中推荐使用 gitcode,避免 gc 被内置 Get-Content 别名覆盖
|
|
135
136
|
gitcode version
|
|
@@ -139,6 +140,12 @@ gitcode version
|
|
|
139
140
|
- wheel 会同时安装 `gc` 和 `gitcode` 两个命令入口,功能相同。
|
|
140
141
|
- DEB/RPM 包也会同时安装 `gc` 和 `gitcode`;Linux 上二者功能相同。
|
|
141
142
|
- Windows PowerShell 预置 `gc` 作为 `Get-Content` 别名;如果 `gc version` 被解析为读取文件,请改用 `gitcode version`、`gc.exe version` 或 `python -m gc_cli version`。
|
|
143
|
+
- Windows PowerShell 中通过 `--body-file -` / `--comment-file -` 管道传入中文或其他非 ASCII 正文时,推荐使用 UTF-8 文件;如果必须直接管道,先设置 `$OutputEncoding = [System.Text.UTF8Encoding]::new($false)`。CLI 会拦截疑似已被 PowerShell 损坏成 `???` 的输入并提示正确用法。
|
|
144
|
+
|
|
145
|
+
```powershell
|
|
146
|
+
Set-Content -Path body.md -Value "中文正文" -Encoding UTF8
|
|
147
|
+
gitcode issue create -R owner/repo --title "标题" --body-file body.md
|
|
148
|
+
```
|
|
142
149
|
|
|
143
150
|
### PyPI(备选)
|
|
144
151
|
|
|
@@ -155,31 +162,27 @@ pip install gitcode-cli
|
|
|
155
162
|
gitcode version
|
|
156
163
|
```
|
|
157
164
|
|
|
158
|
-
###
|
|
165
|
+
### Linux 二进制文件
|
|
159
166
|
|
|
160
|
-
从 Release Assets
|
|
167
|
+
从 Release Assets 直接下载 Linux 二进制文件:
|
|
161
168
|
|
|
162
169
|
| 平台 | 文件 |
|
|
163
170
|
|------|------|
|
|
164
|
-
| Linux x64 | `
|
|
165
|
-
| Linux ARM64 | `
|
|
166
|
-
| macOS Intel | `gc_<version>_darwin_amd64.tar.gz` |
|
|
167
|
-
| macOS Apple Silicon | `gc_<version>_darwin_arm64.tar.gz` |
|
|
168
|
-
| Windows x64 | `gc_<version>_windows_amd64.zip` |
|
|
171
|
+
| Linux x64 | `gc_linux_amd64` |
|
|
172
|
+
| Linux ARM64 | `gc_linux_arm64` |
|
|
169
173
|
|
|
170
174
|
下载地址: https://gitcode.com/gitcode-cli/cli/releases
|
|
171
175
|
|
|
172
|
-
|
|
176
|
+
下载后赋予可执行权限,并放到 PATH 目录:
|
|
173
177
|
|
|
174
178
|
```bash
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
# Windows
|
|
180
|
-
# 解压 zip 文件后,将 gc.exe 放到 PATH 目录
|
|
179
|
+
chmod +x gc_linux_amd64
|
|
180
|
+
mv gc_linux_amd64 ~/.local/bin/gc
|
|
181
|
+
gc version
|
|
181
182
|
```
|
|
182
183
|
|
|
184
|
+
Windows 和 macOS 用户建议使用上方 wheel 包;wheel 内置 Linux、macOS 和 Windows 二进制,并同时提供 `gc` 与 `gitcode` 两个命令入口。
|
|
185
|
+
|
|
183
186
|
### 规划中的安装方式
|
|
184
187
|
|
|
185
188
|
以下安装方式正在开发中:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
gc_cli/__init__.py,sha256=fqkd0rDARF5RgvBcotyw5xy0M0cLV9xBN9MvPz0cmFg,253
|
|
2
|
+
gc_cli/__main__.py,sha256=4IoaQc5w_ZsLDqiDifrGjllM76LLLUM2CSz2ifmwMmY,163
|
|
3
|
+
gc_cli/wrapper.py,sha256=-nQsDyCvTunhgK24tuJ_tjqJJ1ErRs0hPfdHmUh1JDM,2846
|
|
4
|
+
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
gc_cli/bin/gc-darwin-amd64,sha256=PxcsPCJYe5MCz0GG3t8l3s3YeGaHomb4M1Twt9NXjyo,8537776
|
|
6
|
+
gc_cli/bin/gc-darwin-arm64,sha256=KeW6WsCl22SqmUPsFWqsOJnDcVYZChhIxcknfC6j5RA,8199906
|
|
7
|
+
gc_cli/bin/gc-linux-amd64,sha256=uCfWPcCsTfr6_fQ4lQUUz0iDu70rDVVeXNJNwf8_jVw,8315032
|
|
8
|
+
gc_cli/bin/gc-linux-arm64,sha256=etO5RV116KswyC2wu-nyt-kjm0RMdmIxbC4qQG-0L14,7930008
|
|
9
|
+
gc_cli/bin/gc-windows-amd64.exe,sha256=iKpMFHjMFo-7raB2wtcBtCFEyxrKhvr_s0tAzOGxZFg,8604672
|
|
10
|
+
gitcode_cli-0.5.9.dist-info/licenses/LICENSE,sha256=23d4Rfrm1CLX092oLjzs2UTYcy5Sp-dpaji0IAHIsiE,1280
|
|
11
|
+
gitcode_cli-0.5.9.dist-info/METADATA,sha256=ExyD2ACnESLHpBAiXhdp05LSuVXcnhQFypNbyEdk9jY,10354
|
|
12
|
+
gitcode_cli-0.5.9.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
13
|
+
gitcode_cli-0.5.9.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
|
|
14
|
+
gitcode_cli-0.5.9.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
15
|
+
gitcode_cli-0.5.9.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
gc_cli/__init__.py,sha256=l_OpIkPo6SlFroXTduc6g5o-yJuM_cMoqe8IFaaA8qU,253
|
|
2
|
-
gc_cli/__main__.py,sha256=4IoaQc5w_ZsLDqiDifrGjllM76LLLUM2CSz2ifmwMmY,163
|
|
3
|
-
gc_cli/wrapper.py,sha256=-nQsDyCvTunhgK24tuJ_tjqJJ1ErRs0hPfdHmUh1JDM,2846
|
|
4
|
-
gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
gc_cli/bin/gc-darwin-amd64,sha256=gRCdZW0TphbgAGjxBK3_fOFYShpBLqaB_5CbYBWsMJM,8368128
|
|
6
|
-
gc_cli/bin/gc-darwin-arm64,sha256=3WpR-63eMr0Rk6of4wU3IaZe3ZmnaAWAfX-9AV2PDDg,8033042
|
|
7
|
-
gc_cli/bin/gc-linux-amd64,sha256=mgana9mqM5EFIuOsp8Mi43UaKRPaBK4-9lNKSFzPwq8,8147096
|
|
8
|
-
gc_cli/bin/gc-linux-arm64,sha256=41R_0LV0WRczjBTxyUPbmZcjOeeKj0BA575kmh-pst8,7864472
|
|
9
|
-
gc_cli/bin/gc-windows-amd64.exe,sha256=g9ncLNfjFcVOpfDSzHrA5u_Y75JmiIzr3G0CqeZdhtU,8434688
|
|
10
|
-
gitcode_cli-0.5.6.dist-info/licenses/LICENSE,sha256=23d4Rfrm1CLX092oLjzs2UTYcy5Sp-dpaji0IAHIsiE,1280
|
|
11
|
-
gitcode_cli-0.5.6.dist-info/METADATA,sha256=ilNBG6oVhxKB0PFpx6W1GbnvPV3SytTqEAh6egkLCek,9918
|
|
12
|
-
gitcode_cli-0.5.6.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
13
|
-
gitcode_cli-0.5.6.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
|
|
14
|
-
gitcode_cli-0.5.6.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
|
|
15
|
-
gitcode_cli-0.5.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|