2025-12-08 09:49:07 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
"os"
|
|
|
|
|
|
2026-04-11 10:34:34 -06:00
|
|
|
"forgejo.zerova.net/public/fgj-sid/cmd"
|
2025-12-08 09:49:07 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
if err := cmd.Execute(); err != nil {
|
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
|
|
|
err = cmd.ContextualError(err)
|
2026-03-21 21:50:24 -06:00
|
|
|
if cmd.JSONErrors() {
|
|
|
|
|
cmd.WriteJSONError(err)
|
|
|
|
|
} else {
|
|
|
|
|
fmt.Fprintln(os.Stderr, err)
|
|
|
|
|
}
|
2025-12-08 09:49:07 +01:00
|
|
|
os.Exit(1)
|
|
|
|
|
}
|
|
|
|
|
}
|