Versions in this module Expand all Collapse all v0 v0.1.0 Jun 19, 2026 Changes in this version + const StyleBold + const StyleUnderline + const StyleUppercase + func Alias(alias string) variableProperty + func Default(defaultVal string) variableProperty + func Env(env string) variableProperty + func Required() variableProperty + type Command struct + AboutLong string + AboutShort string + Aliases []string + Name string + Run func() + SuppressHelp bool + Version string + func (c *Command) Flags() *flagCollection + func (c *Command) GlobalFlags() *flagCollection + func (c *Command) PosArgs() *posArgCollection + func (c *Command) Subcommand(s *Command) + func (c *Command) VarArgs() *varArgs + type DefaultPrinter struct + FocusStyle []Style + HeadingStyle []Style + HelperMaxLength int + IndentLength int + SuppressWarnings bool + func (p *DefaultPrinter) Focus(s string) string + func (p *DefaultPrinter) Heading(s string) string + type Flag struct + type Moon struct + Printer Printer + RootCmd *Command + func NewMoon(rootCmd *Command) *Moon + func (m *Moon) Execute() + func (m *Moon) Validate() []error + type PosArg struct + type Printer interface + type Style int + type VarArgs struct + type Variable struct