Files
fusion/.changeset/add-pr-create-cli.md
gsxdsm 609c06f96e feat(KB-200): add pr-create CLI command for task PR creation
- Implement kb task pr-create command to open GitHub PRs from tasks\n- Add draft PR support and title/description customization options\n- Integrate routing in CLI entry point with proper argument parsing\n- Add comprehensive test coverage for the new command\n- Update STANDALONE.md documentation and add changeset for release tracking
2026-03-31 03:27:11 -07:00

750 B

@dustinbyrne/kb
@dustinbyrne/kb
minor

Add kb task pr-create command for creating GitHub PRs from in-review tasks

The new CLI command enables headless GitHub workflows for users who prefer the CLI over the dashboard web UI:

  • kb task pr-create <id> - Create a PR for a task in the "in-review" column
  • kb task pr-create <id> --title "Custom PR title" - Override the default PR title
  • kb task pr-create <id> --base develop - Target a different base branch
  • kb task pr-create <id> --body "PR description" - Add a PR description

The command validates that the task is in the "in-review" column, determines the repository from GITHUB_REPOSITORY env var or git remote, and requires GitHub authentication via gh auth login or GITHUB_TOKEN.