Documentation ¶
Index ¶
- Variables
- func AddCommand(parent cmd.AnchorCommand, cfgManager config.ConfigManager, ...) error
- func NewCommand(ctx common.Context, cfgManager config.ConfigManager, editFunc ConfigEditFunc) *editCmd
- func NewOrchestrator(cfgManager config.ConfigManager) *editOrchestrator
- type ConfigEditFunc
- type NewCommandFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigEdit = func(ctx common.Context, o *editOrchestrator) error { err := o.prepareFunc(o, ctx) if err != nil { return err } return o.runFunc(o, ctx) }
Functions ¶
func AddCommand ¶
func AddCommand( parent cmd.AnchorCommand, cfgManager config.ConfigManager, createCmd NewCommandFunc) error
func NewCommand ¶
func NewCommand( ctx common.Context, cfgManager config.ConfigManager, editFunc ConfigEditFunc) *editCmd
func NewOrchestrator ¶
func NewOrchestrator(cfgManager config.ConfigManager) *editOrchestrator
Types ¶
type ConfigEditFunc ¶
type NewCommandFunc ¶
type NewCommandFunc func( ctx common.Context, cfgManager config.ConfigManager, editFunc ConfigEditFunc) *editCmd
Click to show internal directories.
Click to hide internal directories.