cobrautil

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HideInheritedFlags

func HideInheritedFlags(cmd *cobra.Command, hidden ...string)

HideInheritedFlags hides inherited flags

func MarkCommandExperimental added in v0.13.0

func MarkCommandExperimental(c *cobra.Command)

func MarkFlagExperimental added in v0.13.0

func MarkFlagExperimental(f *pflag.Flag)

func MarkFlagsExperimental added in v0.13.0

func MarkFlagsExperimental(fs *pflag.FlagSet, names ...string)

Types

type BoolFuncValue added in v0.15.0

type BoolFuncValue func(string) error

func (BoolFuncValue) IsBoolFlag added in v0.15.0

func (f BoolFuncValue) IsBoolFlag() bool

func (BoolFuncValue) Set added in v0.15.0

func (f BoolFuncValue) Set(s string) error

func (BoolFuncValue) String added in v0.15.0

func (f BoolFuncValue) String() string

func (BoolFuncValue) Type added in v0.15.0

func (f BoolFuncValue) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL