feat: v0.3.0a — add api command, pr diff/comment/review, structured errors
New commands:
- fgj api: raw REST API passthrough with field inference and path interpolation
- fgj pr diff: view PR diffs with color, --name-only, --stat
- fgj pr comment: add comments to pull requests
- fgj pr review: approve, request changes, or comment on PRs
Agentic enhancements:
- --json-errors flag for structured JSON error output on stderr
- APIError type wrapping HTTP status codes for machine consumption
- Error codes: auth_required, not_found, api_error, invalid_input, etc.
Docs updated for forgejo.zerova.net/sid/fgj-sid fork.
2026-03-21 21:50:24 -06:00
|
|
|
module forgejo.zerova.net/sid/fgj-sid
|
2025-12-08 09:49:07 +01:00
|
|
|
|
feat: v0.3.0d — add PR checks, iostreams, aliases, and broad enhancements
Add PR checks command, iostreams/text packages for colored table output,
top-level run/workflow aliases matching gh CLI structure. Enhance actions,
issues, PRs, releases, repos, labels, milestones, and wiki commands with
improved flags, JSON output, and error handling.
2026-03-23 11:42:44 -06:00
|
|
|
go 1.24.0
|
2025-12-08 09:49:07 +01:00
|
|
|
|
|
|
|
|
require (
|
2025-12-08 11:16:35 +01:00
|
|
|
code.gitea.io/sdk/gitea v0.22.1
|
2025-12-08 09:49:07 +01:00
|
|
|
github.com/spf13/cobra v1.8.1
|
|
|
|
|
github.com/spf13/viper v1.19.0
|
2025-12-08 11:16:35 +01:00
|
|
|
golang.org/x/term v0.32.0
|
2025-12-08 09:49:07 +01:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
2025-12-08 11:16:35 +01:00
|
|
|
github.com/42wim/httpsig v1.2.3 // indirect
|
2026-01-18 11:50:02 +01:00
|
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
github.com/davidmz/go-pageant v1.0.2 // indirect
|
|
|
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
|
|
|
github.com/go-fed/httpsig v1.1.0 // indirect
|
2025-12-08 11:16:35 +01:00
|
|
|
github.com/hashicorp/go-version v1.7.0 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
feat: v0.3.0d — add PR checks, iostreams, aliases, and broad enhancements
Add PR checks command, iostreams/text packages for colored table output,
top-level run/workflow aliases matching gh CLI structure. Enhance actions,
issues, PRs, releases, repos, labels, milestones, and wiki commands with
improved flags, JSON output, and error handling.
2026-03-23 11:42:44 -06:00
|
|
|
github.com/itchyny/gojq v0.12.18 // indirect
|
|
|
|
|
github.com/itchyny/timefmt-go v0.1.7 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
|
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
|
|
|
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
2026-01-18 11:50:02 +01:00
|
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
|
|
|
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
|
|
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
|
|
|
github.com/spf13/afero v1.11.0 // indirect
|
|
|
|
|
github.com/spf13/cast v1.6.0 // indirect
|
|
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
|
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
|
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
|
|
|
go.uber.org/multierr v1.9.0 // indirect
|
2025-12-08 11:16:35 +01:00
|
|
|
golang.org/x/crypto v0.39.0 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
|
feat: v0.3.0d — add PR checks, iostreams, aliases, and broad enhancements
Add PR checks command, iostreams/text packages for colored table output,
top-level run/workflow aliases matching gh CLI structure. Enhance actions,
issues, PRs, releases, repos, labels, milestones, and wiki commands with
improved flags, JSON output, and error handling.
2026-03-23 11:42:44 -06:00
|
|
|
golang.org/x/sys v0.38.0 // indirect
|
2025-12-08 11:16:35 +01:00
|
|
|
golang.org/x/text v0.26.0 // indirect
|
2025-12-08 09:49:07 +01:00
|
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
|
|
|
)
|