Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlagHelperTest ¶ added in v0.0.16
func FlagHelperTest(arguments []string, plugin CommandPlugin, callback func())
Types ¶
type CommandHelper ¶ added in v0.0.16
type CommandHelper struct { Command *cli.Command Plugins []CommandPlugin Action func(cCtx *cli.Context) error }
func (*CommandHelper) AddPlugin ¶ added in v0.0.16
func (this *CommandHelper) AddPlugin(plugin CommandPlugin)
func (*CommandHelper) GetCommand ¶ added in v0.0.16
func (this *CommandHelper) GetCommand() *cli.Command
type CommandPlugin ¶ added in v0.0.16
type FlagHelper ¶
type FlagHelper struct { Prefix string Name string Category string Value string Usage string Required bool // contains filtered or unexported fields }
func (*FlagHelper) GetEnvVar ¶ added in v0.0.16
func (this *FlagHelper) GetEnvVar() string
func (*FlagHelper) GetFlagName ¶ added in v0.0.16
func (this *FlagHelper) GetFlagName() string
func (*FlagHelper) StringFlag ¶ added in v0.0.16
func (this *FlagHelper) StringFlag() *cli.StringFlag
func (*FlagHelper) StringValue ¶ added in v0.0.16
func (this *FlagHelper) StringValue(cCtx *cli.Context) string
Click to show internal directories.
Click to hide internal directories.