src pr add-comment
Create comment
Usage
src pr add-comment [<pull-request>] [flags]
Examples
Add comment to current PR (based on current branch)
src pr add-comment --body "Looks good!"
Add comment to a specific PR
src pr add-comment 42 --body "Please fix the typo"
Add comment without notifications
src pr add-comment 42 --body "Minor fix" --silent
Flags
| Flag | Description |
|---|---|
--pull-request-id string |
|
--silent |
|
--parent-id string |
|
--body string |
|
--need-resolution |
Indicates an issue in PR that must be resolved before merge |
--publish |
publish immediately (defaults to true) |
--iteration string |
Optional iteration specification (defaults to latest iteration) |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src pr add-comment <subcommand> --help for more information about a command.