【问题标题】:Can I add issues to github from the command line?我可以从命令行向 github 添加问题吗?
【发布时间】:2012-06-12 18:48:58
【问题描述】:
我是 git 新手,我希望能够通过 github 为我的项目绘制计划和进度。
问题是,这需要在 github.com 上使用浏览器进行大量点击,我希望能够通过使用命令行程序在某种程度上自动化该任务。
github有命令行界面吗?
【问题讨论】:
标签:
git
github
command-line-interface
github-issues
【解决方案1】:
您可以使用ghi gem 来管理问题。
The most commonly used ghi commands are:
list List your issues (or a repository's)
show Show an issue's details
open Open (or reopen) an issue
close Close an issue
edit Modify an existing issue
comment Leave a comment on an issue
label Create, list, modify, or delete labels
assign Assign an issue to yourself (or someone else)
milestone Manage project milestones
【解决方案2】:
您可以查看 this cli 以获取 Github 问题 API。
请注意,这仅针对 Github 问题。
希望这会有所帮助。
[编辑] 原始答案提到了this 应用程序,它不再起作用并推荐ghi。
【解决方案4】:
我正在开发一个github_cli gem,它提供对整个 GitHub API v3 的命令行访问。请试一试并报告任何问题/想法/功能请求。