util

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(command string, args ...string) string

RunCommand executes given command with args, automatically exits program on error.

func RunSilentCommand

func RunSilentCommand(command string, args ...string) string

RunSilentCommand is same as RunCommand but does not forward stderr. TODO: Remove and refactor RunCommand to print stderr only when err happens due to gcloud printing to stderr it's debug messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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