Documentation
¶
Index ¶
- type Manager
- func (m *Manager) ApplyCommand(name string, opts *types.ProcessingOptions) error
- func (m *Manager) DeleteCommand(name string) error
- func (m *Manager) GenerateCommandTemplate(name string) *types.Command
- func (m *Manager) GetBuiltinCommands() map[string]*types.Command
- func (m *Manager) GetCommand(name string) (*types.Command, error)
- func (m *Manager) GetUserCommands() map[string]*types.Command
- func (m *Manager) IsBuiltin(name string) bool
- func (m *Manager) SaveCommand(cmd *types.Command) error
- func (m *Manager) SubstituteVariables(cmd *types.Command, variables map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles command operations
func (*Manager) ApplyCommand ¶
func (m *Manager) ApplyCommand(name string, opts *types.ProcessingOptions) error
ApplyCommand applies a command to processing options
func (*Manager) DeleteCommand ¶
DeleteCommand deletes a user command
func (*Manager) GenerateCommandTemplate ¶
GenerateCommandTemplate generates a command template
func (*Manager) GetBuiltinCommands ¶
GetBuiltinCommands returns all built-in commands
func (*Manager) GetCommand ¶
GetCommand retrieves a command by name
func (*Manager) GetUserCommands ¶
GetUserCommands returns all user commands
func (*Manager) SaveCommand ¶
SaveCommand saves a user command
Click to show internal directories.
Click to hide internal directories.