shell

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCommandNotFound = errors.New("command could not be found")

Functions

This section is empty.

Types

type ShellExecutor

type ShellExecutor interface {
	Run(string) (string, error)
}

func NewExecutor

func NewExecutor(name string, cfg common.Config) (ShellExecutor, error)

Jump to

Keyboard shortcuts

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