cli

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleErr

func HandleErr(err error)

func HandlePanic

func HandlePanic(result *int, out io.Writer)

Types

type CLI

type CLI struct {
	CWD           string
	Out           io.Writer
	Err           io.Writer
	In            io.Reader
	ColorsEnabled bool
}

func (*CLI) Run

func (c *CLI) Run(args []string) int

Jump to

Keyboard shortcuts

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