Documentation ¶
Index ¶
- Variables
- func AddCommand(parent cmd.AnchorCommand, commandFolderName string, createCmd NewCommandFunc) error
- func NewCommand(ctx common.Context, commandFolderName string, statusFunc DynamicStatusFunc) *statusCmd
- func NewOrchestrator(commandFolderName string) *statusOrchestrator
- type DynamicStatusFunc
- type NewCommandFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamicStatus = func(ctx common.Context, o *statusOrchestrator) error { err := o.prepareFunc(o, ctx) if err != nil { return err } o.bannerFunc(o) return o.runFunc(o, ctx) }
Functions ¶
func AddCommand ¶
func AddCommand(parent cmd.AnchorCommand, commandFolderName string, createCmd NewCommandFunc) error
func NewCommand ¶
func NewCommand(ctx common.Context, commandFolderName string, statusFunc DynamicStatusFunc) *statusCmd
func NewOrchestrator ¶
func NewOrchestrator(commandFolderName string) *statusOrchestrator
Types ¶
type DynamicStatusFunc ¶
type NewCommandFunc ¶
type NewCommandFunc func(ctx common.Context, commandFolderName string, statusFunc DynamicStatusFunc) *statusCmd
Click to show internal directories.
Click to hide internal directories.