{% extends "docs/base.html" %} {% block docs_content %}

update-pull-status

Update pull status

Auth

Authenticated

Example

pearing-cli update-pull-status website 42 --status closed

Expected Response

Updates the resource and prints the updated JSON object.

Errors

Common auth errors are documented on the CLI overview page.

Help Output

Update pull status.

Usage: pearing-cli update-pull-status [OPTIONS] --status <STATUS> <REPO> <NUMBER>

Arguments:
  <REPO>    Target repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
  <NUMBER>  Pull number in target repo

Options:
      --status <STATUS>
          New status [possible values: open, draft, closed, merged]
      --merge-commit-oid <MERGE_COMMIT_OID>
          Merge commit oid (optional, for merged status)
  -h, --help
          Print help (see more with '--help')
{% endblock %}