shell

package
v0.0.0-...-7dfd343 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNeedValue = errors.New("An alias needs a value")
	ErrNeedLabel = errors.New("An alias needs a label")
)
View Source
var MaxComplete = 10

Functions

This section is empty.

Types

type Aliases

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

func NewAliases

func NewAliases() *Aliases

type Repl

type Repl struct {
	Prompt string

	Debug bool
	Trace bool
	// contains filtered or unexported fields
}

func NewRepl

func NewRepl(prompt string) *Repl

func (*Repl) ExecuteRC

func (r *Repl) ExecuteRC() error

Read ~/.goshrc and execute each line as if it were given to the REPL

func (*Repl) Loop

func (r *Repl) Loop() (err error)

Jump to

Keyboard shortcuts

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