Documentation
¶
Index ¶
- func NewCmdConfig(f *cmdutil.Factory) *cobra.Command
- func NewCmdConfigDefaultAs(f *cmdutil.Factory) *cobra.Command
- func NewCmdConfigInit(f *cmdutil.Factory, runF func(*ConfigInitOptions) error) *cobra.Command
- func NewCmdConfigRemove(f *cmdutil.Factory, runF func(*ConfigRemoveOptions) error) *cobra.Command
- func NewCmdConfigShow(f *cmdutil.Factory, runF func(*ConfigShowOptions) error) *cobra.Command
- type ConfigInitOptions
- type ConfigRemoveOptions
- type ConfigShowOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConfig ¶
NewCmdConfig creates the config command with subcommands.
func NewCmdConfigDefaultAs ¶
NewCmdConfigDefaultAs creates the "config default-as" subcommand.
func NewCmdConfigInit ¶
NewCmdConfigInit creates the config init subcommand.
func NewCmdConfigRemove ¶
NewCmdConfigRemove creates the config remove subcommand.
func NewCmdConfigShow ¶
NewCmdConfigShow creates the config show subcommand.
Types ¶
type ConfigInitOptions ¶
type ConfigInitOptions struct {
Factory *cmdutil.Factory
Ctx context.Context
AppID string
AppSecretStdin bool // read app-secret from stdin (avoids process list exposure)
Brand string
New bool
Lang string
// contains filtered or unexported fields
}
ConfigInitOptions holds all inputs for config init.
type ConfigRemoveOptions ¶
ConfigRemoveOptions holds all inputs for config remove.
type ConfigShowOptions ¶
ConfigShowOptions holds all inputs for config show.
Click to show internal directories.
Click to hide internal directories.