create-thread
Create a thread for a repo
Auth
Authenticated Owner Scope
Examples
pearing-cli create-thread website \
--title "Add search" \
--status draft \
--kind task \
--priority now \
--size small
# read the body from stdin
printf '%s\n' "Detailed description" \
| pearing-cli create-thread website \
--title "Add search" \
--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 thread for a repo.
Usage: pearing-cli create-thread [OPTIONS] --title <TITLE> <REPO>
Arguments:
<REPO> Repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
Options:
--title <TITLE> Thread title
--body <BODY> Thread body. Pass '-' to read from stdin
--kind <KIND> Thread kind [possible values: discussion, change, task]
--status <STATUS> Thread status [possible values: open, draft, closed, done]
--priority <PRIORITY> Thread priority [possible values: now, later]
--size <SIZE> Thread size [possible values: small, large]
-h, --help Print help