update-reply
Update a reply
Auth
Authenticated Owner Scope
Examples
pearing-cli update-reply website 42 5 --status accepted
pearing-cli update-reply website 42 5 --kind proposal
pearing-cli update-reply website 42 5 --link commit:e9ce311 --link pull:17
# read the body from stdin
printf '%s\n' "Revised reply" | pearing-cli update-reply website 42 5 --body -
Expected Response
Prints the updated JSON object.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen the referenced resource does not exist.403 Forbiddenwhen owner/repo access checks fail.409 Conflictif the reply has already been deleted.
Common auth errors are documented on the CLI overview page.
Help Output
Update a reply.
Usage: pearing-cli update-reply [OPTIONS] <REPO> <NUMBER> <REPLY_NUMBER>
Arguments:
<REPO> Repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
<NUMBER> Thread number
<REPLY_NUMBER> Reply number
Options:
--body <BODY> Reply body. Pass '-' to read from stdin
--kind <KIND> Reply kind [possible values: comment, proposal, review, decision, implementation]
--status <STATUS> Reply status [possible values: open, accepted, rejected]
--link <LINK> Replace reply links with the provided list
-h, --help Print help