Versions in this module Expand all Collapse all v1 v1.13.12 Feb 9, 2025 Changes in this version + func CommandLineErrorf(message string, args ...interface{}) error + func Main(ctx context.Context, app Application, args []string) + func Run(ctx context.Context, s *flag.FlagSet, app Application, args []string) (resultErr error) + type Application interface + DetailedHelp func(*flag.FlagSet) + Name func() string + Run func(ctx context.Context, args ...string) error + ShortHelp func() string + Usage func() string + type Profile struct + Alloc string + CPU string + Memory string + Trace string + type SubCommand interface + Parent func() string