Documentation ¶
Index ¶
- func BoolFlag(flags *pflag.FlagSet, name string) bool
- func BoolWithInverse(cmd *cobra.Command, name string, value bool, usage, negativeUsage string)
- func BoolWithInverseValue(flags *pflag.FlagSet, name string) bool
- func StringFlag(flags *pflag.FlagSet, name string) string
- type CobraCompleter
- type Completer
- func (c *Completer) Get() CobraCompleter
- func (c *Completer) WithHandlers(handlers ...render.Handler) *Completer
- func (c *Completer) WithKeySuffix(suffix string) *Completer
- func (c *Completer) WithSettings(options ...render.SettingsOption) *Completer
- func (c *Completer) WithSuffixIsLiteral(b bool) *Completer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolWithInverse ¶ added in v0.6.2
func BoolWithInverseValue ¶ added in v0.6.2
Types ¶
type CobraCompleter ¶ added in v0.6.1
type Completer ¶ added in v0.6.1
type Completer struct {
// contains filtered or unexported fields
}
func NewCompleter ¶ added in v0.6.1
func NewCompleter() *Completer
func (*Completer) Get ¶ added in v0.6.1
func (c *Completer) Get() CobraCompleter
func (*Completer) WithHandlers ¶ added in v0.6.1
func (*Completer) WithKeySuffix ¶ added in v0.6.2
func (*Completer) WithSettings ¶ added in v0.6.1
func (c *Completer) WithSettings(options ...render.SettingsOption) *Completer
func (*Completer) WithSuffixIsLiteral ¶ added in v0.6.2
Click to show internal directories.
Click to hide internal directories.