Versions in this module Expand all Collapse all v0 v0.6.0 Mar 22, 2026 v0.5.1 Mar 21, 2026 v0.5.0 Mar 21, 2026 Changes in this version + const ExitFailure + const ExitPreflightDependency + const ExitRuntimeExternal + const ExitStrategyMissing + const ExitSuccess + const ExitTransitionDenied + const ExitUsage + const ExitValidationFailed + const ExitWorkerFailed + func ResolveExitCode(err error) int + type AppContext struct + Config any + Context context.Context + IO IOStreams + Logger zerolog.Logger + Meta AppMeta + Values map[string]any + func NewAppContext(ctx context.Context) *AppContext + type AppMeta struct + Commit string + Date string + Name string + Version string + type CLIError struct + Cause error + Code int + Kind string + Message string + func NewCLIError(code int, kind, message string, cause error) *CLIError + func (e *CLIError) Error() string + func (e *CLIError) ExitCode() int + func (e *CLIError) Unwrap() error + type DoctorFinding struct + Code string + Message string + Path string + type DoctorReport struct + Findings []DoctorFinding + OK bool + SchemaVersion string + func (r DoctorReport) JSON() (string, error) + type ExitCoder interface + ExitCode func() int + type Hook interface + Postflight func(*AppContext) error + Preflight func(*AppContext) error + type IOStreams struct + Stderr io.Writer + Stdout io.Writer