Documentation
¶
Index ¶
- func Bug(debug string)
- func EnterKey() byte
- func ErrAppend(err error)
- func ErrCont(err error)
- func ErrFatal(err error)
- func Example(cmd string)
- func Prompt(question string) string
- func RMLine() string
- func Response(s string, quiet bool)
- func Status(count, total int, m Mode) string
- func YN(question string, recommend YND) bool
- type Mode
- type YND
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrAppend ¶ added in v0.0.8
func ErrAppend(err error)
ErrAppend prints the error to an active line.
func Example ¶
func Example(cmd string)
Example is intended for help screens and prints the example command.
func Prompt ¶ added in v0.1.0
Prompt prints the question to stdout and prompts for a string reply. The prompt will loop until Enter key or Ctrl-C are pressed.
Types ¶
Click to show internal directories.
Click to hide internal directories.