customactions

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShellInvocation

func ShellInvocation(shell, command string) (string, []string)

ShellInvocation resolves a shell command line for the current platform.

Types

type Result

type Result struct {
	Action   config.CustomAction
	Output   string
	Err      error
	Duration time.Duration
	ExitCode int
}

Result describes a completed custom action run.

func Run

func Run(ctx context.Context, action config.CustomAction, defaultDir, shell string) Result

Run executes action through the configured shell and captures combined stdout and stderr without blocking the Bubble Tea update loop.

Jump to

Keyboard shortcuts

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