Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + const ExitOK + const ExitRuntime + const ExitUsage + func ExitCode(err error) int + func Run(ctx context.Context, args []string, stdout, stderr io.Writer) int + type ExitCodeError struct + Code int + func (e *ExitCodeError) Error() string + type Options struct + ConfigPath string + JSON bool + Verbose bool + func NewRoot(stdout, stderr io.Writer) (*cobra.Command, *Options) + type UsageError struct + Err error + func (e *UsageError) Error() string + func (e *UsageError) Unwrap() error