当前位置

网站首页> 程序设计 > 开源项目 > 编程语言 > 浏览文章

Github 命令行工具 Node GH

作者:小梦 来源: 网络 时间: 2024-06-12 阅读:

#长沙# OSC源创会第32期(1月10日)正在报名!

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

热点阅读

网友最爱