beads/cmd/bd/testdata/update.txt
darcy f9b306f152 docs(claim): standardize start-work semantics to --claim (#2070)
Standardize start-work semantics to `bd update <id> --claim` across docs,
examples, templates, and website static LLM artifacts. Replaces
`--status in_progress` with `--claim` where the meaning is start-work.

Also fixes stale comment in llms.txt ("Update status" → "Start work").

Co-Authored-By: Valeriy Pavlovich <iqdoctor@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 22:11:39 -08:00

18 lines
468 B
Text

# Test bd update command
bd init --prefix test
# Create issue and capture its hash ID
bd create 'Issue to update'
cp stdout issue.txt
grep 'Created issue: test-' issue.txt
# Extract ID using grep
exec sh -c 'grep -oE "test-[a-z0-9]+" issue.txt > issue_id.txt'
# Claim the issue (sets status to in_progress)
exec sh -c 'bd update $(cat issue_id.txt) --claim'
stdout 'Updated issue:'
# Verify the update
exec sh -c 'bd show $(cat issue_id.txt)'
stdout 'in_progress'