runner

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuiltInCommands = map[string]bool{
	"test":        true,
	"install":     true,
	"dep-install": true,
}

TODO: may move it to packages like common

Functions

func ExecuteCommand

func ExecuteCommand(cmdName string) (int, error)

ExecuteCommand look for configured command(s) and execute TODO: return value can have name, if my memory is correct

func LookUpCommands

func LookUpCommands(cmdName string) ([]string, error)

LookUpCommands looks for single or array of commands in built-in and scripts blocks TODO: test

Types

This section is empty.

Jump to

Keyboard shortcuts

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