Github 命令行工具:Node GH
Node GH 是基于 Node.js 编写的 Github 命令行工具。
使用示例:
-
Shortcut for listing open pull requests for the current repository.
gh pr
-
List open pulls requests for all branches from all your repositories.
gh pr --list --all
-
List open pull requests sent by logged user on current repository.
gh pr --list --me
-
List open pull requests with link and content.
gh pr --list --detailed
-
List open pull requests for a branch.
gh pr --list --branch master
-
List open pull requests and sort them by popularity (comment count).
gh pr --list --sort popularity
-
List open pull requests and sort them by asc long-running (old but still active).
gh pr --list --sort long-running --direction asc
-
List open pull requests and sort them by complexity (complexity is calculated based on number of additions, deletions, changed files, comments and review comments).
gh pr --list --sort complexity
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!