shell

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskForApproval

func AskForApproval(prompt string) (bool, error)

func IsCommandAvailable

func IsCommandAvailable(command string, args ...string) (bool, error)

func PromptForInput

func PromptForInput(prompt string) (string, error)

func RequireApproval

func RequireApproval(prompt string, errString string) error

func RunCommandToStdout

func RunCommandToStdout(cmd *exec.Cmd) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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