terminal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI interface {
	io.ReadWriter
	password_reader.PasswordReader

	Prompt(promptText string, args ...interface{}) string
	PromptWithDefault(promptText, defaultValue string, args ...interface{}) string
	Say(format string, args ...interface{})
	SayIncorrectUsage(message string)
	SayLine(format string, args ...interface{})
	SayNewLine()
}

func NewUI

func NewUI(input io.Reader, output io.Writer, passwordReader password_reader.PasswordReader) UI

Directories

Path Synopsis
+build darwin freebsd linux netbsd openbsd
+build darwin freebsd linux netbsd openbsd
fake_password_reader
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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