Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFlagRequired ¶
func SetupCoreCommand ¶
func SetupCoreCommand(root *cobra.Command, commonCfg *CommonConfig) func()
Types ¶
type CommonConfig ¶
type CommonConfig struct { Verbose LevelledFlag // contains filtered or unexported fields }
type LevelledFlag ¶
type LevelledFlag int
func (*LevelledFlag) Set ¶
func (f *LevelledFlag) Set(s string) error
func (*LevelledFlag) String ¶
func (f *LevelledFlag) String() string
func (*LevelledFlag) Type ¶
func (f *LevelledFlag) Type() string
Click to show internal directories.
Click to hide internal directories.