utils

package
v0.0.0-...-80dd117 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptUntilValid

func PromptUntilValid(prompt promptui.Prompt, verbose bool) (string, error)

func RunCommand

func RunCommand(verbose bool, command string, args ...string) (*bytes.Buffer, *bytes.Buffer, error)

func RunCommandInput

func RunCommandInput(verbose bool, command string, stdin string, args ...string) error

Need better passback here

func RunCommandToFile

func RunCommandToFile(verbose bool, command string, filename string, args ...string) (*bytes.Buffer, error)

TODO determine if this should return a *bytes.Buffer instead of a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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