feat: pr approve/reject, repo migrate/template, secret stdin fix, docs
- fgj pr approve / pr reject: thin shortcuts over 'pr review --approve'
and '--request-changes'. Reject requires a body.
- fgj repo migrate: wrap SDK MigrateRepo. Supports git, github, gitlab,
gitea, gogs services; mirror mode with --mirror-interval; selective
import (wiki/labels/milestones/issues/PRs/releases/LFS); auth via
--auth-token or --auth-username/--auth-password. Defaults owner to
the authenticated user.
- fgj repo create-from-template: wrap SDK CreateRepoFromTemplate with
fine-grained --with-{content,topics,labels,webhooks,git-hooks,avatar}
flags. Template is owner/name; new repo defaults to the current user.
- Rework 'fgj actions secret create' input. New cmd/secret_input.go
resolves values from --body, --body-file (path or '-'), hidden TTY
prompt via term.ReadPassword, or piped stdin. Trims trailing
whitespace, rejects empty values. Replaces fmt.Scanln which broke on
spaces/newlines and echoed input.
- CHANGELOG: v0.4.0 Unreleased section documenting all additions,
changes, and development items.
- README: updated feature list with new commands.
This commit is contained in:
parent
424fb63a8b
commit
4eeef2ceca
7 changed files with 551 additions and 23 deletions
25
README.md
25
README.md
|
|
@ -10,20 +10,25 @@
|
|||
## Features
|
||||
|
||||
- Multi-instance support (works with any Forgejo or Gitea instance)
|
||||
- Pull request management (create, list, view, merge, diff, comment, review)
|
||||
- Issue tracking (create, list, view, comment, close, labels)
|
||||
- Repository operations (view, list, create, edit, clone, fork)
|
||||
- Label management (list, create, edit, delete)
|
||||
- Milestone management (list, view, create, edit, delete)
|
||||
- Wiki page management (list, view, create, edit, delete)
|
||||
- Issue dependencies (`--add-dependency`, `--remove-dependency`)
|
||||
- Forgejo Actions (workflow runs, watch/rerun/cancel, enable/disable, secrets, variables)
|
||||
- Releases (create, upload, delete)
|
||||
- Pull requests — list, view, create, merge, close, reopen, edit, checkout, clean, diff, comment, review, approve, reject, checks, review-comments, resolve/unresolve
|
||||
- Issues — create, list, view, comment, close, reopen, edit, labels, dependencies
|
||||
- Repositories — view, list, create, edit, clone, fork, rename, delete, search, migrate, create-from-template
|
||||
- Branches — list, rename, delete
|
||||
- Labels / milestones / wiki — full CRUD
|
||||
- Organizations — list, create, delete
|
||||
- Webhooks — list, create, update, delete
|
||||
- Notifications — list (unread or all), mark read
|
||||
- Forgejo Actions — workflow runs, watch/rerun/cancel, workflows enable/disable, secrets, variables
|
||||
- Releases — create, upload, delete
|
||||
- Admin — `admin user list` (admin-token only)
|
||||
- `fgj open` — launch a repo / issue / PR in the browser
|
||||
- `fgj whoami` — show the authenticated user on the current host
|
||||
- Raw API access (`fgj api`) for arbitrary REST calls
|
||||
- Shell completions (bash, zsh, fish, PowerShell) and man pages
|
||||
- JSON output (`--json`) for all list/view commands
|
||||
- JSON output (`--json`, `--json-fields`, `--jq`) for all list/view commands
|
||||
- Structured JSON error output (`--json-errors`) for machine consumption
|
||||
- Automatic repository and hostname detection from git context
|
||||
- Directory-scoped host defaults (`match_dirs`)
|
||||
- Secure authentication with personal access tokens
|
||||
- XDG Base Directory compliant config location
|
||||
- AI coding agent friendly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue