prompt

package
v4.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: MIT Imports: 5 Imported by: 49

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[string]PromptFunc{
	"terminal": TerminalPrompt,
}

Functions

func Available

func Available() []string

func OSAScriptPrompt

func OSAScriptPrompt(prompt string) (string, error)

func TerminalPrompt

func TerminalPrompt(prompt string) (string, error)

func ZenityPrompt

func ZenityPrompt(prompt string) (string, error)

Types

type PromptFunc

type PromptFunc func(string) (string, error)

func Method

func Method(s string) PromptFunc

Jump to

Keyboard shortcuts

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