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
Node GH 官网
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。