cli

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrExec

type ErrExec struct {
	Output Output
}

func (*ErrExec) Error

func (e *ErrExec) Error() string

type Output

type Output struct {
	ExitCode int         `json:"exitCode"`
	StdOut   string      `json:"stdOut"`
	StdErr   string      `json:"stdErr"`
	Err      error       `json:"error"`
	Data     interface{} `json:"data"`
}

func Execute added in v0.6.0

func Execute(cmd string, args ...string) Output

Jump to

Keyboard shortcuts

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