Versions in this module Expand all Collapse all v0 v0.1.2 May 1, 2026 Changes in this version + const Help + var ErrNoArgs = fmt.Errorf(..., Help) + func Entrypoint(simplcli SimplCLI) + func PrintDefaultHelp(out io.Writer, s SimplCLI) error + func WithSignal(ctx context.Context, stderr io.Writer, signals ...os.Signal) (context.Context, context.CancelFunc) + type Middleware func(ctx context.Context, stdout, stderr io.Writer, args []string, next Runner) error + type Runner func(ctx context.Context, stdout, stderr io.Writer, args []string) error + type SimplCLI struct + Middlewares []Middleware + SubCmds map[string]SubCmd + func (s SimplCLI) PrintHelp(ctx context.Context, out io.Writer) error + func (s SimplCLI) Run(ctx context.Context, stdout, stderr io.Writer, args []string) error + type SubCmd struct + Doc string + Runner Runner