prompt

package
v0.0.0-...-591e5d3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPromptAborted = errors.New("prompt aborted")
View Source
var ErrPromptError = errors.New("prompt error")

Functions

func AddAuth

func AddAuth(auth string)

func AddCmd

func AddCmd(cmd string)

func AddDesDir

func AddDesDir(des string)

func AddHostgroup

func AddHostgroup(hostgroup string)

func AddKeyword

func AddKeyword(keyword string)

func AddOpt

func AddOpt(opt string)

func AddSrcFile

func AddSrcFile(src string)

func New

func New(c types.Cfg, hostgroups types.Hostgroups) (*liner.State, error)

func Prompt

func Prompt(l *liner.State, c types.Cfg) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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