cli

package
v0.0.0-...-56ccd80 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	libcontext.Context

	// Debug returns whether debug output is enabled
	Debug() bool

	// In returns the reader to read user input from.
	In() io.Reader

	// Out returns the writer to send normal output to.
	Out() io.Writer

	// ErrOut returns the writer to send error output to.
	ErrOut() io.Writer
}

Context holds the required values to print output.

func DefaultContext

func DefaultContext() Context

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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