command

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Exec(string, variables.Variables) ([]byte, error)
}

func NewShellExecutor

func NewShellExecutor() Executor

type ShellExecutor

type ShellExecutor struct{}

func (*ShellExecutor) Exec

func (e *ShellExecutor) Exec(command string, vars variables.Variables) ([]byte, error)

Jump to

Keyboard shortcuts

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