{% extends "docs/base.html" %} {% block docs_content %}
Update pull status
pearing-cli update-pull-status website 42 --status closed
Updates the resource and prints the updated JSON object.
400 Bad Request for invalid flags/values.404 Not Found when referenced owners/resources are missing.409 Conflict for uniqueness or state conflicts.Common auth errors are documented on the CLI overview page.
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')