Documentation
¶
Index ¶
- Constants
- func NewShellAddPathPowerUp() types.PowerUp
- type ShellAddPathPowerUp
- func (p *ShellAddPathPowerUp) Description() string
- func (p *ShellAddPathPowerUp) GetTemplateContent() string
- func (p *ShellAddPathPowerUp) Name() string
- func (p *ShellAddPathPowerUp) Process(matches []types.TriggerMatch) ([]types.Action, error)
- func (p *ShellAddPathPowerUp) RunMode() types.RunMode
- func (p *ShellAddPathPowerUp) ValidateOptions(options map[string]interface{}) error
Constants ¶
View Source
const (
ShellAddPathPowerUpName = "shell_add_path"
)
Variables ¶
This section is empty.
Functions ¶
func NewShellAddPathPowerUp ¶
NewShellAddPathPowerUp creates a new instance of the ShellAddPathPowerUp
Types ¶
type ShellAddPathPowerUp ¶
type ShellAddPathPowerUp struct{}
ShellAddPathPowerUp manages adding directories to the PATH
func (*ShellAddPathPowerUp) Description ¶
func (p *ShellAddPathPowerUp) Description() string
func (*ShellAddPathPowerUp) GetTemplateContent ¶
func (p *ShellAddPathPowerUp) GetTemplateContent() string
GetTemplateContent returns the template content for this power-up
func (*ShellAddPathPowerUp) Name ¶
func (p *ShellAddPathPowerUp) Name() string
func (*ShellAddPathPowerUp) Process ¶
func (p *ShellAddPathPowerUp) Process(matches []types.TriggerMatch) ([]types.Action, error)
func (*ShellAddPathPowerUp) RunMode ¶
func (p *ShellAddPathPowerUp) RunMode() types.RunMode
func (*ShellAddPathPowerUp) ValidateOptions ¶
func (p *ShellAddPathPowerUp) ValidateOptions(options map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.