shell

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStdInReader

func NewStdInReader() domain.PromptReader

NewStdInReader creates a new input PromptReader to read from standard input

func ParseArgs

func ParseArgs(input []string) (domain.Command, error)

Types

type Executor

type Executor interface {
	Exec(name string, arg ...string) error
}

func NewExecutor

func NewExecutor() Executor

Jump to

Keyboard shortcuts

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