Add comprehensive tests for show.go commands (bd-12c2)
Added test coverage for show, update, close, and edit commands in
cmd/bd/show_test.go:
- TestShowCommand (6 subtests): single/multiple issues, JSON output,
dependencies, labels, compaction
- TestUpdateCommand (11 subtests): status, priority, title, assignee,
description, design, notes, acceptance criteria, multiple fields/issues
- TestCloseCommand (4 subtests): single/multiple issues, JSON output,
with/without reason
- TestEditCommand (1 subtest): argument validation
Key improvements:
- Properly sets global store variable to avoid "no issue found" errors
- Uses direct mode (BEADS_NO_DAEMON=1) for test isolation
- Follows existing test patterns from init_test.go and list_test.go
- All 22 test cases passing
Total cmd/bd coverage improved to 39.6%
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>