Documentation ¶
Index ¶
- func NewConvertCommand(opts *rootOptions) *cobra.Command
- func NewPrefixCommand(opts *rootOptions) *cobra.Command
- func NewRootCommand() *cobra.Command
- type OptionData
- func CreateIntOptionData(fs *pflag.FlagSet, defaultValue int, name, usage string) *OptionData[int]
- func CreateIntPersistentOptionData(fs *pflag.FlagSet, defaultValue int, name, shorthand, usage string) *OptionData[int]
- func CreateStringArrayOptionData(fs *pflag.FlagSet, defaultValue []string, name, usage string) *OptionData[[]string]
- func CreateStringArrayPersistentOptionData(fs *pflag.FlagSet, defaultValue []string, name, shorthand, usage string) *OptionData[[]string]
- func CreateStringOptionData(fs *pflag.FlagSet, defaultValue string, name, usage string) *OptionData[string]
- func CreateStringPersistentOptionData(fs *pflag.FlagSet, defaultValue string, name, shorthand, usage string) *OptionData[string]
- type RootDevcontainerOptionsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConvertCommand ¶
func NewPrefixCommand ¶
func NewRootCommand ¶
Types ¶
type OptionData ¶
func CreateIntOptionData ¶
func CreateStringOptionData ¶
func (*OptionData[T]) IsSet ¶
func (o *OptionData[T]) IsSet() bool
func (*OptionData[T]) Value ¶
func (o *OptionData[T]) Value() T
type RootDevcontainerOptionsState ¶
type RootDevcontainerOptionsState uint8
const ( DATA_IS_NOT_PARSED RootDevcontainerOptionsState = iota DATA_IS_SET DATA_IS_NOT_SET )
Click to show internal directories.
Click to hide internal directories.