package cobrautil
import "github.com/docker/buildx/util/cobrautil"
Index ¶
- func HideInheritedFlags(cmd *cobra.Command, hidden ...string)
- func MarkCommandExperimental(c *cobra.Command)
- func MarkFlagExperimental(f *pflag.Flag)
- func MarkFlagsExperimental(fs *pflag.FlagSet, names ...string)
- type BoolFuncValue
- func (f BoolFuncValue) IsBoolFlag() bool
- func (f BoolFuncValue) Set(s string) error
- func (f BoolFuncValue) String() string
- func (f BoolFuncValue) Type() string
- type ExitCodeError
Functions ¶
func HideInheritedFlags ¶
HideInheritedFlags hides inherited flags
func MarkCommandExperimental ¶
func MarkFlagExperimental ¶
func MarkFlagsExperimental ¶
Types ¶
type BoolFuncValue ¶
func (BoolFuncValue) IsBoolFlag ¶
func (f BoolFuncValue) IsBoolFlag() bool
func (BoolFuncValue) Set ¶
func (f BoolFuncValue) Set(s string) error
func (BoolFuncValue) String ¶
func (f BoolFuncValue) String() string
func (BoolFuncValue) Type ¶
func (f BoolFuncValue) Type() string
type ExitCodeError ¶
type ExitCodeError int
func (ExitCodeError) Error ¶
func (e ExitCodeError) Error() string
func (ExitCodeError) Unwrap ¶
func (e ExitCodeError) Unwrap() error
Source Files ¶
boolfunc.go cobrautil.go error.go
Directories ¶
Path | Synopsis |
---|---|
util/cobrautil/completion |
- Version
- v0.26.1 (latest)
- Published
- Jul 22, 2025
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.