Add new command to list repository branches with support for --repo flag.
Changes:
- Add RepoBranchesArgs with --repo flag support
- Implement pretty table and JSON output modes
- Add integration tests for listing branches
- Support both in-repo and --repo OWNER/REPO usage
Implements part of #253
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add branch delete subcommand with --repo flag support.
Changes:
- Restructure branch commands under 'berg repo branch' namespace
- Add 'berg repo branch list' (moved from 'berg repo branches')
- Add 'berg repo branch delete' with confirmation message
- Add integration tests for branch deletion
- Support both in-repo and --repo OWNER/REPO usage
Implements part of #253
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add command to list comments on an issue without fetching full issue details.
Changes:
- Add IssueCommentsArgs with issue ID and --repo flag support
- Implement pretty table and JSON output modes
- Support interactive issue selection or direct ID
- Add integration tests for listing issue comments
- Reuse existing comment rendering from view command
Implements part of #253
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add command to list comments on a pull request without fetching full PR details.
Changes:
- Add PullCommentsArgs with PR ID and --repo flag support
- Implement pretty table and JSON output modes
- Support interactive PR selection or direct ID
- Add integration tests for listing PR comments
- Reuse existing comment rendering from view command
Implements part of #253
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add command to list reviews on a pull request.
Changes:
- Add PullReviewsArgs with PR ID and --repo flag support
- Implement pretty table and JSON output modes
- Support interactive PR selection or direct ID
- Display review ID, state, user, submission time, and comment count
- Add integration tests for listing PR reviews
This command is useful for discovering review IDs to inspect specific
reviews or their comments.
Implements part of #253
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Implements aggregated review comment listing for pull requests.
The command fetches all reviews for a PR and collects comments
from each review into a single list.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix test parameter names and shared library references:
- Replace withTestRepo with cdTestRepo in berg_run/berg_run_json calls
- Add sharedLib imports to test modules
- Replace testLib.{user,repo,testRepo} with sharedLib.{user,repo}
These changes fix the nix flake check errors. The tests now parse correctly
and can be validated for syntax, though running the full VM-based integration
tests requires KVM support which is difficult to set up in Docker containers
on non-NixOS systems.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>