builtin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v0.2.0

func Check(argv []string) (func([]string) error, error)

Check verifies if a command is a builtin command

func Prompt added in v0.2.0

func Prompt() prompt.Prompt

Types

type BuiltinPromptItem added in v0.2.0

type BuiltinPromptItem struct {
	Username      string
	Hostname      string
	Commandprompt string
}

func (BuiltinPromptItem) Generate added in v0.2.0

func (i BuiltinPromptItem) Generate() prompt.Item

func (BuiltinPromptItem) Prefix added in v0.2.0

func (i BuiltinPromptItem) Prefix()

func (BuiltinPromptItem) String added in v0.2.0

func (i BuiltinPromptItem) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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