console

package
v0.0.0-...-d19b8bf Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StandardConsole

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

func NewStandardConsole

func NewStandardConsole(opts ...StandardConsoleOptions) *StandardConsole

func (StandardConsole) Run

func (s StandardConsole) Run(cmd string, opts ...func(cmd *exec.Cmd)) (string, error)

func (StandardConsole) RunTemplate

func (s StandardConsole) RunTemplate(st []string, template string) error

func (StandardConsole) Start

func (s StandardConsole) Start(cmd *exec.Cmd, opts ...func(cmd *exec.Cmd)) error

type StandardConsoleOptions

type StandardConsoleOptions func(*StandardConsole) error

Jump to

Keyboard shortcuts

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