docs: replace tea pr edit with tea comment in CLAUDE.md
The tea CLI does not have a pr edit command. Updated documentation to use tea comment instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
27
CLAUDE.md
27
CLAUDE.md
@@ -81,29 +81,22 @@ Use the `tea` CLI (Gitea command-line tool) for PR operations instead of `gh`.
|
|||||||
**Linking issues**: When a PR solves an issue, reference the issue in both the commit message and PR description using `Closes #<number>`.
|
**Linking issues**: When a PR solves an issue, reference the issue in both the commit message and PR description using `Closes #<number>`.
|
||||||
This automatically links and closes the issue when the PR is merged.
|
This automatically links and closes the issue when the PR is merged.
|
||||||
|
|
||||||
### Updating PR Descriptions
|
### Adding Comments to PRs
|
||||||
|
|
||||||
Use the `tea` CLI to update pull request descriptions:
|
Use the `tea` CLI to add comments to pull requests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tea pr edit -d "New description text"
|
tea comment <number> "Comment text"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Options
|
|
||||||
|
|
||||||
- `-d, --description` - Set description directly
|
|
||||||
- `--desc-file` - Read description from a file
|
|
||||||
- `-r, --repo` - Specify repo (defaults to current directory)
|
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Update PR #42 with inline text
|
# Add a comment to PR #42
|
||||||
tea pr edit 42 -d "Updated implementation based on feedback"
|
tea comment 42 "Updated implementation based on feedback"
|
||||||
|
|
||||||
# Update using a file
|
# Add a multi-line comment
|
||||||
tea pr edit 42 --desc-file PR_DESCRIPTION.md
|
tea comment 42 "Summary of changes:
|
||||||
|
- Fixed bug in reducer
|
||||||
# Update PR in a different repo
|
- Added new tests"
|
||||||
tea pr edit 42 -r username/repo -d "New description"
|
```
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user