本文作者
转载请注明本文出处及链接
https://cn.x-cmd.com/mod/gh/issue/
帮助我们改善文档
X-CMD 的文档内容来自命令的帮助文档、多个数据源以及文档库生成。文档中如果有错误或不明确的地方,欢迎通过这些方式进行告知~
扫描添加小助手完成验证加入微信群
仓库 issue 管理
| 名称 | 描述 |
|---|---|
| x gh issue ls | 列出仓库 issue |
| x gh issue close | 关闭 issue |
| x gh issue create | 创建 issue |
| x gh issue edit | 编辑 issue |
| x gh issue reopen | 重新打开 issue |
列出仓库 issue
查看 x-cmd/x-cmd 仓库中标签是 bug, 并且已经关闭了的 issue
x gh issue ls --labels bug --state closed -r x-cmd/x-cmdx gh issue ls关闭 issue
关闭 id 为 20 的 issue
x gh issue reopen -r x-cmd/x-cmd 20x gh issue close <#1>| 参数 | 描述 |
|---|---|
#1 | issue 编号 |
创建 issue
在 x-cmd/x-cmd 仓库创建一个标题为 "A new bug" , 内容为 "it is a new bug", 标签为 bug 的 issue
x gh issue create -r ollama/ollama --title "A new bug" --body "it is a new bug" --labels bugx gh issue create编辑 issue
x gh issue edit|ed <#1>| 参数 | 描述 |
|---|---|
#1 | issue 编号 |
重新打开 issue
重新打开 x-cmd/x-cmd 仓库 id 为 20 的 issue
x gh issue reopen -r x-cmd/x-cmd 20x gh issue reopen <#1>| 参数 | 描述 |
|---|---|
#1 | issue 编号 |
TIP
在交互式终端中(如 zsh, bash ...),可以使用 Tab 获取补全信息
运行 CMD SUBCOMMAND --help 可以获取命令的更多信息
本文作者
转载请注明本文出处及链接
帮助我们改善文档
X-CMD 的文档内容来自命令的帮助文档、多个数据源以及文档库生成。文档中如果有错误或不明确的地方,欢迎通过这些方式进行告知~
扫描添加小助手