fj/main.go
sid bc43f6e5a5 rename fgj to fj
Module path, binary name, config dir, help text, and docs
all updated from fgj-sid/fgj to fj.
2026-04-26 08:16:52 -06:00

20 lines
278 B
Go

package main
import (
"fmt"
"os"
"forgejo.zerova.net/public/fj/cmd"
)
func main() {
if err := cmd.Execute(); err != nil {
err = cmd.ContextualError(err)
if cmd.JSONErrors() {
cmd.WriteJSONError(err)
} else {
fmt.Fprintln(os.Stderr, err)
}
os.Exit(1)
}
}