Versions in this module Expand all Collapse all v0 v0.3.0 Oct 19, 2026 v0.2.0 Oct 15, 2026 v0.1.0 Oct 14, 2026 Changes in this version + func Execute(ctx context.Context, streams IOStreams, args []string) int + func Main() int + func NewRootCommand(streams IOStreams) *cobra.Command + type Command struct + Args []string + Dir string + Env []string + Name string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func (c Command) Argv() []string + func (c Command) String() string + type ExitError struct + Code int + Err error + func (e *ExitError) Error() string + func (e *ExitError) Unwrap() error + type IOStreams struct + ErrOut io.Writer + In io.Reader + Out io.Writer + func StdStreams() IOStreams + type Runner interface + Run func(ctx context.Context, c Command) error