out

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bug

func Bug(debug string)

Bug prints the string to a newline.

func ErrCont

func ErrCont(err error)

ErrFatal prints the error.

func ErrFatal

func ErrFatal(err error)

ErrFatal prints the error and exits the program.

func Example

func Example(cmd string)

Example is intended for help screens and prints the example command.

func Response

func Response(s string, quiet bool)

Response prints the string when quiet is false.

func YN

func YN(question string) bool

YN prints the question and prompts the user for a yes or no reply. The prompt will loop unless a y or n value is given or Ctrl-C is pressed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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