Documentation ¶
Index ¶
- Variables
- func AddCommand(parent cmd.AnchorCommand, commandFolderName string, ...) error
- func NewCommand(ctx common.Context, commandFolderName string, selectFunc DynamicSelectFunc) *selectCmd
- func NewOrchestrator(runner *runner.ActionRunnerOrchestrator, commandFolderName string) *selectOrchestrator
- type DynamicSelectFunc
- type NewCommandFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamicSelect = func(ctx common.Context, o *selectOrchestrator) error { err := o.runner.PrepareFunc(o.runner, ctx) if err != nil { return err } err = o.prepareFunc(o, ctx) if err != nil { return err } o.bannerFunc(o) promptErr := o.runFunc(o, ctx) if promptErr != nil { return managePromptError(promptErr) } return nil }
Functions ¶
func AddCommand ¶
func AddCommand(parent cmd.AnchorCommand, commandFolderName string, createCmdFunc NewCommandFunc) error
func NewCommand ¶
func NewCommand(ctx common.Context, commandFolderName string, selectFunc DynamicSelectFunc) *selectCmd
func NewOrchestrator ¶
func NewOrchestrator(runner *runner.ActionRunnerOrchestrator, commandFolderName string) *selectOrchestrator
Types ¶
type DynamicSelectFunc ¶
type NewCommandFunc ¶
type NewCommandFunc func(ctx common.Context, commandFolderName string, selectFunc DynamicSelectFunc) *selectCmd
Click to show internal directories.
Click to hide internal directories.