shell

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingInput = errors.New("no input was provided")

Functions

func ExecuteCommandWithConfirmation added in v1.10.0

func ExecuteCommandWithConfirmation(ctx context.Context, bashCommand string) error

func ExecuteShellCommand added in v1.10.0

func ExecuteShellCommand(ctx context.Context, response string) error

func GetInput added in v1.10.0

func GetInput(args []string) (string, error)

func GetPipedData

func GetPipedData() (string, error)

func GetUserConfirmation added in v1.10.0

func GetUserConfirmation() (bool, error)

func IsPipedShell

func IsPipedShell() (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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