{% extends "docs/base.html" %} {% block docs_content %}
Update pull content (title/body/refs)
pearing-cli update-pull website 42 \
--title "Feature x (updated)" \
--body "Updated details"
# or replace the body from stdin explicitly
printf 'Updated details\n' \
| pearing-cli update-pull website 42 \
--title "Feature x (updated)" \
--body -
Updates the resource and prints the updated JSON object.
Omitting --body leaves the existing pull body unchanged.
Use --body - to replace the body with stdin.
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 content (title/body/refs).
Usage: pearing-cli update-pull [OPTIONS] <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:
--source-ref <SOURCE_REF> Source ref
--target-ref <TARGET_REF> Target ref
--title <TITLE> Pull title
--body <BODY> Pull body. Pass '-' to read from stdin
-h, --help Print help (see more with '--help')