src pr files
List Pull Request Files Returns the list of files changed in a pull request with diff patches.
Usage
src pr files <pull-request> [flags]
Examples
List changed files in current PR (based on current branch)
src pr files
List changed files in a pull request by number
src pr files 42
List files from another repository
src pr files 42 -R foo/bar
JSON output
src pr files --json
Flags
| Flag | Description |
|---|---|
--pull-request-id string |
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 files <subcommand> --help for more information about a command.
Была ли статья полезна?
Предыдущая
Следующая