Files
pad/cmd
xarmian 2f39d075d0 feat: GitHub PR integration for Pad items (#5)
* feat: add GitHub PR integration commands

New `pad github` command group for linking GitHub PRs to Pad items:
- `pad github link [item-ref]` — Link current branch's PR to a Pad item,
  with auto-detection of item refs from branch names (e.g. fix/TASK-5-desc)
- `pad github status [item-ref]` — Show PR status for linked items in a table
- `pad github unlink <item-ref>` — Remove a PR link from an item
- `pad show` now displays linked PR info with colored state

PR data stored in the existing fields JSON column — zero migrations needed.
Shells out to `git` and `gh` CLI for git/GitHub interaction.

* fix: github integration refinements

- Fix headRepository field name for gh CLI
- Extract repo from PR URL instead of headRepository response
- Scan all collections for github status (workspace-level items API
  doesn't support the 'all' parameter as a flag)
- Hide github_pr from regular fields display in show command
2026-03-28 11:20:00 -04:00
..