run

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareEditSettingsCommand

func PrepareEditSettingsCommand(input string) *exec.Cmd

func PrepareInteractiveCommand

func PrepareInteractiveCommand(input string) *exec.Cmd

func Run

func Run(cmd string, arg ...string) (string, error)

Types

type Output

type Output struct {
	// contains filtered or unexported fields
}

func NewRunOutput

func NewRunOutput(error error, errorMessage string, successMessage string) Output

func (Output) GetErrorMessage

func (o Output) GetErrorMessage() string

func (Output) GetSuccessMessage

func (o Output) GetSuccessMessage() string

func (Output) HasError

func (o Output) HasError() bool

Jump to

Keyboard shortcuts

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