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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!