Documentation
¶
Index ¶
- func AddFlags(useCmd *cobra.Command, cmd *UseCmd)
- func NewAddCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewListAvailableCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewOptionsCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewProviderCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSetOptionsCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUpdateCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUseCmd(flags *flags.GlobalFlags) *cobra.Command
- type AddCmd
- type DeleteCmd
- type ListAvailableCmd
- type ListCmd
- type OptionsCmd
- type ProviderWithDefault
- type SetOptionsCmd
- type UpdateCmd
- type UseCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCmd ¶
func NewAddCmd(flags *flags.GlobalFlags) *cobra.Command
NewAddCmd creates a new command
func NewDeleteCmd ¶
func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new command
func NewListAvailableCmd ¶ added in v0.1.10
func NewListAvailableCmd(flags *flags.GlobalFlags) *cobra.Command
NewListAvailableCmd creates a new command
func NewListCmd ¶
func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
NewListCmd creates a new command
func NewOptionsCmd ¶
func NewOptionsCmd(flags *flags.GlobalFlags) *cobra.Command
NewOptionsCmd creates a new command
func NewProviderCmd ¶
func NewProviderCmd(flags *flags.GlobalFlags) *cobra.Command
NewProviderCmd returns a new root command
func NewSetOptionsCmd ¶
func NewSetOptionsCmd(flags *flags.GlobalFlags) *cobra.Command
NewSetOptionsCmd creates a new command
func NewUpdateCmd ¶
func NewUpdateCmd(flags *flags.GlobalFlags) *cobra.Command
NewUpdateCmd creates a new command
Types ¶
type AddCmd ¶
type AddCmd struct {
*flags.GlobalFlags
Use bool
SingleMachine bool
Options []string
Name string
FromExisting string
}
AddCmd holds the cmd flags
type DeleteCmd ¶
type DeleteCmd struct {
*flags.GlobalFlags
IgnoreNotFound bool
}
DeleteCmd holds the delete cmd flags
type ListAvailableCmd ¶ added in v0.1.10
type ListAvailableCmd struct {
flags.GlobalFlags
}
ListAvailableCmd holds the list cmd flags
type ListCmd ¶
type ListCmd struct {
flags.GlobalFlags
Output string
Used bool
}
ListCmd holds the list cmd flags
type OptionsCmd ¶
type OptionsCmd struct {
*flags.GlobalFlags
Prefill bool
Hidden bool
Output string
}
OptionsCmd holds the options cmd flags
type ProviderWithDefault ¶
type ProviderWithDefault struct {
workspace.ProviderWithOptions `json:",inline"`
Default bool `json:"default,omitempty"`
}
type SetOptionsCmd ¶
type SetOptionsCmd struct {
flags.GlobalFlags
Reconfigure bool
SingleMachine bool
Options []string
}
SetOptionsCmd holds the use cmd flags
Click to show internal directories.
Click to hide internal directories.