Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx *ConfigCommandContext) *cobra.Command
func NewSetCommand ¶
func NewSetCommand(ctx *ConfigCommandContext) *cobra.Command
Types ¶
type ConfigCommandContext ¶
type ConfigCommandContext struct { Messager Messager CliVersion string Printer Printer LocalConfig LocalConfig }
type LocalConfig ¶
type LocalConfig interface { GetLocalConfiguration() (*localConfig.ConfigContent, error) Set(key string, value string) error }
type Messager ¶
type Messager interface {
LoadVersionMessages(messages chan *messager.VersionMessage, cliVersion string)
}
Click to show internal directories.
Click to hide internal directories.