fj/cmd
sid 2d69873f3e feat: logins list/default, actions run delete, date filters, label update alias
- fgj logins {list,default}: complementary UI to 'fgj auth'. 'list'
  shows all configured hosts (hostname, user, protocol, default flag,
  match_dirs) with --json. 'default [hostname]' gets or sets which
  host wins in resolution when no other signal is present.
  Adds 'Default bool' field to HostConfig; GetHost consults it between
  match_dirs and the codeberg.org fallback. Multiple defaults tolerated
  with a stderr warning; alphabetical-first wins.

- fgj actions run delete: delete a completed workflow run via raw
  DELETE (SDK v0.23.2 has no DeleteRepoActionRun). Fetches run first
  and refuses to delete non-terminal states unless --force; suggests
  'actions run cancel' for those. Confirmation prompt unless --yes.

- pr list / issue list gain --since and --before date filter flags.
  Accepts YYYY-MM-DD, RFC 3339, YYYY-MM-DD HH:MM:SS, and relative
  deltas (7d, 24h, 2w, 1m — months=30 days). Issues use server-side
  filter via ListIssueOption.Since/Before; PRs fall back to client-side
  (SDK lacks Since/Before on ListPullRequestsOptions).

- fgj label update added as alias for 'fgj label edit' (tea-compat).

All changes:
  cmd/logins.go (new, 140 LOC)
  cmd/actions_run_delete.go (new, ~85 LOC)
  cmd/pr.go, cmd/issue.go (+parseDateArg helper, filter wiring)
  cmd/label.go (1-line alias)
  internal/config/config.go (Default field + DefaultHost method)
  CHANGELOG.md
Built in parallel by three sub-agents; plus the label alias done
serially. go build / go vet / go test -race all clean.
2026-04-19 23:04:33 -06:00
..
actions.go feat: pr approve/reject, repo migrate/template, secret stdin fix, docs 2026-04-19 22:14:43 -06:00
actions_run_delete.go feat: logins list/default, actions run delete, date filters, label update alias 2026-04-19 23:04:33 -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
branch_protect.go feat: times, branch protection, release assets, milestone issues, notification states 2026-04-19 22:24:53 -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 feat: logins list/default, actions run delete, date filters, label update alias 2026-04-19 23:04:33 -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 feat: logins list/default, actions run delete, date filters, label update alias 2026-04-19 23:04:33 -06:00
logins.go feat: logins list/default, actions run delete, date filters, label update alias 2026-04-19 23:04:33 -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
milestone_issues.go feat: times, branch protection, release assets, milestone issues, notification states 2026-04-19 22:24:53 -06:00
notification.go feat: add branch, notification, org, open, whoami commands 2026-04-19 21:27:55 -06:00
notification_states.go feat: times, branch protection, release assets, milestone issues, notification states 2026-04-19 22:24:53 -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 feat: logins list/default, actions run delete, date filters, label update alias 2026-04-19 23:04:33 -06:00
pr_approve_reject.go feat: pr approve/reject, repo migrate/template, secret stdin fix, docs 2026-04-19 22:14:43 -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
release_assets.go feat: times, branch protection, release assets, milestone issues, notification states 2026-04-19 22:24:53 -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_migrate.go feat: pr approve/reject, repo migrate/template, secret stdin fix, docs 2026-04-19 22:14:43 -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
repo_template.go feat: pr approve/reject, repo migrate/template, secret stdin fix, docs 2026-04-19 22:14:43 -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
secret_input.go feat: pr approve/reject, repo migrate/template, secret stdin fix, docs 2026-04-19 22:14:43 -06:00
times.go feat: times, branch protection, release assets, milestone issues, notification states 2026-04-19 22:24:53 -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