Documentation ¶
Index ¶
- type Context
- func (c *Context) ContainsFlag(flag string) bool
- func (c *Context) Error(err error)
- func (c *Context) GetFlagValue(flag string) string
- func (c *Context) GetIntFlagValue(flag string) int64
- func (c *Context) ShowHelpPage()
- func (c *Context) ValidateFile(flag string) (*os.File, error)
- func (c *Context) ValidateFilePath(path string) (*os.File, error)
- type Executor
- type Executors
- type Shell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func (*Context) ContainsFlag ¶
func (*Context) GetFlagValue ¶
func (*Context) GetIntFlagValue ¶ added in v0.3.0
func (*Context) ShowHelpPage ¶
func (c *Context) ShowHelpPage()
type Executor ¶
type Executor struct { Name string Help string Aliases []string WithValue bool Flags *flags.Flags CountArgs int SubExecs Executors Func func(*Context) }
func (*Executor) AddExecutor ¶
type Executors ¶
func (Executors) GetSuggests ¶ added in v0.4.0
type Shell ¶
func (*Shell) AddExecutor ¶
func (*Shell) GetExecutor ¶ added in v0.1.0
func (*Shell) ImprovedShell ¶ added in v0.4.0
func (s *Shell) ImprovedShell()
Click to show internal directories.
Click to hide internal directories.