From 763899e8560c1d233647196e35e2d0151d5d8016 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 14 Jan 2026 10:35:27 -0800 Subject: [PATCH] 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 --- CLAUDE.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1f491d6..d17ecac 100644 --- a/CLAUDE.md +++ b/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 ` - target branch (default: repo's default branch) +- `--assignees ` - assign reviewers +- `--labels