shell_profile

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShellProfilePowerUpName = "shell_profile"
)

Variables

This section is empty.

Functions

func NewShellProfilePowerUp

func NewShellProfilePowerUp() types.PowerUp

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL