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