Versions in this module Expand all Collapse all v1 v1.0.0 Jun 18, 2026 Changes in this version + const ExitCannotInvoke + const ExitInternalFailure + const ExitNotFound + const ExitSuccess + const ExitTimedOut + var ErrUsage = errors.New("usage error") + func HelpText() string + func ParseDuration(value string) (time.Duration, error) + func ParseSignal(value string) (syscall.Signal, error) + func Run(args []string, streams Streams) int + type Config struct + Command []string + Duration time.Duration + Foreground bool + KillAfter time.Duration + PreserveStatus bool + ShowHelp bool + ShowVersion bool + Signal syscall.Signal + Verbose bool + func Parse(args []string) (Config, error) + type Streams struct + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer v1.0.0-alpha Jun 16, 2026