oshelpers

package
v6.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandWrapper

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

func Command

func Command(command string, args ...string) *CommandWrapper

func (*CommandWrapper) Run

func (c *CommandWrapper) Run() error

func (*CommandWrapper) RunAndGetOutput

func (c *CommandWrapper) RunAndGetOutput() (string, error)

func (*CommandWrapper) ShowOutput

func (c *CommandWrapper) ShowOutput(value bool) *CommandWrapper

func (*CommandWrapper) WorkingDir

func (c *CommandWrapper) WorkingDir(workDir DirPath) *CommandWrapper

type DirPath

type DirPath string

Jump to

Keyboard shortcuts

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