Documentation ¶
Index ¶
- func ErrorNotEnoughArguments(s ...string) error
- func Text(text string) string
- type IElement
- type IOnError
- type IValue
- type Interface
- type TCommand
- type TErrorNotEnoughArguments
- type TFlag
- func (o *TFlag) Do() (bool, error)
- func (o *TFlag) GetBrief() string
- func (o *TFlag) GetDoc() string
- func (o *TFlag) GetHint() string
- func (o *TFlag) GetKeys() []string
- func (o *TFlag) GetOption(opt tOptions) bool
- func (o *TFlag) GetUsage() string
- func (o *TFlag) Parse(args *[]string, key string) (string, error)
- func (o *TFlag) Terminator() *TFlag
- type TFlagSet
- func (o *TFlagSet) Doc(text string) IElement
- func (o *TFlagSet) Elements(elements ...IElement) *TFlagSet
- func (o *TFlagSet) GetHint() string
- func (o *TFlagSet) Hint(text string) IElement
- func (o *TFlagSet) Parse(args []string) error
- func (o *TFlagSet) PrintHelp() error
- func (o *TFlagSet) PrintHelpFunc() func() error
- func (o *TFlagSet) Usage(text string) IElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorNotEnoughArguments ¶
ErrorNotEnoughArguments -
Types ¶
type Interface ¶
type Interface interface { IElement Parse(*[]string, string) (string, error) Do() (bool, error) GetKeys() []string GetBrief() string GetUsage() string GetHint() string GetDoc() string GetOption(tOptions) bool }
Interface -
type TCommand ¶
type TCommand struct { TFlag // contains filtered or unexported fields }
TCommand -
type TErrorNotEnoughArguments ¶
type TErrorNotEnoughArguments struct {
// contains filtered or unexported fields
}
TErrorNotEnoughArguments -
func (*TErrorNotEnoughArguments) Error ¶
func (o *TErrorNotEnoughArguments) Error() string
Click to show internal directories.
Click to hide internal directories.