shell_add_path

package
v0.1.2 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 (
	ShellAddPathPowerUpName = "shell_add_path"
)

Variables

This section is empty.

Functions

func NewShellAddPathPowerUp

func NewShellAddPathPowerUp() types.PowerUp

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

Jump to

Keyboard shortcuts

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