Document tea pr create syntax in CLAUDE.md
Add full example with heredoc for multi-line descriptions and note the difference from gh CLI (--description vs --body). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
4b365a1294
commit
763899e856
1 changed files with 17 additions and 1 deletions
18
CLAUDE.md
18
CLAUDE.md
|
|
@ -50,9 +50,25 @@ git commit -m "Description of change"
|
|||
|
||||
# Push and create PR using tea CLI
|
||||
git push -u origin feature/description-of-change
|
||||
tea pr create --title "Description of change" --description "Details..."
|
||||
tea pr create --title "Description of change" --description "$(cat <<'EOF'
|
||||
## Summary
|
||||
- First change
|
||||
- Second change
|
||||
|
||||
## Test plan
|
||||
- [x] Tested thing one
|
||||
- [ ] Need to test thing two
|
||||
|
||||
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
||||
EOF
|
||||
)"
|
||||
```
|
||||
|
||||
Note: `tea` uses `--description` (not `--body` like `gh`). Other useful flags:
|
||||
- `--base <branch>` - target branch (default: repo's default branch)
|
||||
- `--assignees <user>` - assign reviewers
|
||||
- `--labels <label>` - add labels
|
||||
|
||||
PRs are reviewed and merged via the Forgejo web UI at https://forge.tail8d86e.ts.net.
|
||||
|
||||
After creating a PR, run `open <pr-url>` to open it in the browser (Claude Code's UI will prompt for permission).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue