scripts

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScriptNameGetVersion = "get_version"
	ScriptNameSetVersion = "set_version"
)
View Source
const ScriptDirname = "scripts"

Variables

This section is empty.

Functions

func Command

func Command(scriptName string, args ...string) (*exec.Cmd, error)

Commands returns *exec.Command for the given script name and args.

func Run

func Run(scriptName string, args ...string) (stdout *bytes.Buffer, err error)

Types

type ErrNotFound

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

func (*ErrNotFound) Error

func (err *ErrNotFound) Error() string

func (*ErrNotFound) ScriptName

func (err *ErrNotFound) ScriptName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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