Versions in this module Expand all Collapse all v0 v0.1.0 Oct 28, 2026 Changes in this version + const ReasonAtOps + const ReasonFailed + const ReasonGate + const ReasonProof + const ReasonRequalify + const ReasonUngrounded + const StatusBlocked + const StatusError + const StatusOK + func CodeForError(err error) int + func LogLevel(verbose, quiet bool) slog.Level + func NewLogger(w io.Writer, jsonl bool, level slog.Level) *slog.Logger + func ReasonForError(err error) string + type Config struct + Command *ff.Command + ConfigPath string + DryRun bool + Flags *ff.FlagSet + Getenv func(string) string + JSONL bool + Log *slog.Logger + NoColor bool + Profile string + Quiet bool + Repo string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + Verbose bool + Yes bool + func New(getenv func(string) string, stdin io.Reader, stdout, stderr io.Writer) *Config + func (c *Config) ConfigGetenv() func(string) string + func (c *Config) EmitBlocked(code int, reason, message string) error + func (c *Config) EmitError(code int, reason, message string) error + func (c *Config) EmitJSONL(v any) error + func (c *Config) EmitOK(data any) error + type DryRunUnsupportedError string + func (c DryRunUnsupportedError) Error() string + func (c DryRunUnsupportedError) Unwrap() error + type ExitError int + func (e ExitError) Error() string + type MissingFlagError struct + Flags []string + Scope string + func (e MissingFlagError) Error() string + func (e MissingFlagError) Unwrap() error + type MissingOperandError struct + Kind OperandKind + Scope string + func (e MissingOperandError) Error() string + func (e MissingOperandError) Unwrap() error + type MissingVerbError struct + Scope string + Verbs []string + func (e MissingVerbError) Error() string + func (e MissingVerbError) Unwrap() error + type OperandKind string + const OperandArc + const OperandBranch + const OperandClass + const OperandDir + const OperandLabel + const OperandLevel + const OperandManifest + const OperandPath + const OperandSpec + const OperandStaging + const OperandTitle + const OperandTool + const OperandUnit + type Outcome struct + Code int + Data any + Message string + Reason string + Status string + type UnknownVerbError struct + Got string + Scope string + Verbs []string + func (e UnknownVerbError) Error() string + func (e UnknownVerbError) Unwrap() error