ReviewCommand - evansde77/cirrus GitHub Wiki

Review

The cirrus review command provides a simple CLI API to the GitHub PR API for signing off on Pull Requests and merges

Available commands are:

  • git cirrus review list - list all open PRs for the repo, accepts -u or --user to filter for requests from a specific user
  • git cirrus review details - Get details for a specific PR, specified by --id
  • git cirrus review plusone - Set a Github context for the PR to indicate that the PR has been approved
  • git cirrus review review - Add a review comment to a PR, optionally adding the plusone flag to it as well

Examples:

git cirrus review list --user evansde77 # list open PRs by user evansde77
git cirrus review list                  # list all open PRs
git cirrus review plusone --id 500 -c "+1"      # adds the +1 context to the feature via a status update and sets it to success
git cirrus review reviee --id 500 -m "great work, LGTM"  --plus-one -c "+1" # adds a comment to the PR and sets the +1 context status to success