create-reply
Create a reply on a thread
Auth
Authenticated Owner Scope
Examples
# top-level reply
pearing-cli create-reply website 42 --kind comment --body "Looks good"
# nested reply under reply 5
pearing-cli create-reply website 42 \
--parent 5 \
--kind review \
--body "Add tests" \
--link commit:abc123
# read the body from stdin
printf '%s\n' "Detailed review" \
| pearing-cli create-reply website 42 \
--kind proposal \
--body -
Expected Response
Creates the resource and prints the created 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.
Common auth errors are documented on the CLI overview page.
Help Output
Create a reply on a thread.
Usage: pearing-cli create-reply [OPTIONS] --kind <KIND> <REPO> <NUMBER>
Arguments:
<REPO> Repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
<NUMBER> Thread number
Options:
--parent <PARENT_REPLY_NUMBER> Optional parent reply number. Omit for a top-level reply
--kind <KIND> Reply kind [possible values: comment, proposal, review, decision, implementation]
--body <BODY> Reply body. Pass '-' to read from stdin
--status <STATUS> Reply status [possible values: open, accepted, rejected]
--link <LINK> Add one link in `kind:target` form. Repeat to set links on create
-h, --help Print help