Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCommandFromFile ¶ added in v0.5.6
Types ¶
type CommandHandler ¶
type CommandHandler struct { generic_command.GenericCommandHandler DevMode bool // can be any of BareCommand, WriterCommand or GlazeCommand Command cmds.Command }
func NewCommandHandler ¶
func NewCommandHandler( command cmds.Command, options ...CommandHandlerOption, ) *CommandHandler
func NewCommandHandlerFromConfig ¶
func NewCommandHandlerFromConfig( config_ *config.Command, loader loaders.CommandLoader, options ...CommandHandlerOption, ) (*CommandHandler, error)
type CommandHandlerOption ¶
type CommandHandlerOption func(*CommandHandler)
func WithDevMode ¶
func WithDevMode(devMode bool) CommandHandlerOption
func WithGenericCommandHandlerOptions ¶ added in v0.5.6
func WithGenericCommandHandlerOptions(options ...generic_command.GenericCommandHandlerOption) CommandHandlerOption
Click to show internal directories.
Click to hide internal directories.