fj/cmd
sid adccd6f6f7 feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments
Second pass of tea-parity work:

- fgj webhook {list,create,update,delete}: full CRUD over repo webhooks.
  Create supports all standard hook types (gitea, slack, discord, etc.),
  event selection, content type, secret, branch filter, auth header.
  Update is partial — flags you omit leave existing config unchanged.
- fgj repo delete: type-to-confirm deletion; --yes skips for scripts;
  refuses without a TTY unless --yes is passed.
- fgj repo search: SDK SearchRepos with query, topic/description,
  private/archived, --type (source/fork/mirror), owner, sort/order.
- fgj admin user list: admin-gated user enumeration.
- fgj pr clean: delete the local branch from 'pr checkout'. Refuses
  if the PR is still open (use --force) or if the branch is currently
  checked out.
- fgj pr review-comments: list inline review comments across every
  review on a PR (ListPullReviews + ListPullReviewComments per review).
- fgj pr resolve / unresolve: mark review comments as (un)resolved.
  Uses raw POST since SDK v0.22.1 predates these endpoints; requires
  Forgejo 8.x+ / Gitea 1.22+ server-side.

All share the standard parseRepo + config.Load + NewClientFromConfig
pattern; list commands support --json / --jq.
2026-04-19 22:01:29 -06:00
..
actions.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
actions_test.go feat: implement workflow list/view/run 2026-01-16 10:52:15 +01:00
admin.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
aliases.go feat: v0.3.0d — add PR checks, iostreams, aliases, and broad enhancements 2026-03-23 12:42:24 -06:00
api.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
auth.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
branch.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
completion.go feat: add completion and manpage commands 2026-01-18 13:11:40 +01:00
errors.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
ios_init.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
issue.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
json.go feat: v0.3.0d — add PR checks, iostreams, aliases, and broad enhancements 2026-03-23 12:42:24 -06:00
label.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
manpages.go feat: add completion and manpage commands 2026-01-18 13:11:40 +01:00
milestone.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
notification.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
open.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
org.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
pr.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
pr_checks.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
pr_clean.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
pr_diff.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
pr_review.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
pr_review_comments.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
release.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
repo.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00
repo_create_test.go feat: implement repo create command 2026-03-13 17:44:44 +01:00
repo_delete.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
repo_search.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
root.go feat(release): v0.4.0 foundations — ldflags version + goreleaser + CI Go 1.24 2026-04-19 21:04:57 -06:00
webhook.go feat: add webhook, repo delete/search, admin, pr clean/resolve/review-comments 2026-04-19 22:01:29 -06:00
whoami.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
wiki.go chore: migrate module path to public org 2026-04-11 10:34:34 -06:00