run

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 3 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 RunCommand

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

Types

type RunOutput

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

func NewRunOutput

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

func (RunOutput) GetErrorMessage

func (o RunOutput) GetErrorMessage() string

func (RunOutput) GetSuccessMessage

func (o RunOutput) GetSuccessMessage() string

func (RunOutput) HasError

func (o RunOutput) HasError() bool

Jump to

Keyboard shortcuts

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