cli

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: GPL-2.0, GPL-2.0-or-later Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Prompt string

	Stdin          io.Reader
	Stdout, Stderr io.Writer
	// contains filtered or unexported fields
}

func (*Command) Apropos

func (*Command) Apropos() lang.Alt

func (*Command) Goes

func (c *Command) Goes(g *goes.Goes)

func (*Command) Main

func (c *Command) Main(args ...string) error

func (*Command) Man

func (*Command) Man() lang.Alt

func (*Command) Read added in v1.13.6

func (c *Command) Read(p []byte) (n int, err error)

func (*Command) String

func (*Command) String() string

func (*Command) Usage

func (*Command) Usage() string

func (*Command) Write added in v1.13.6

func (c *Command) Write(p []byte) (n int, err error)

Directories

Path Synopsis
internal
liner
Package liner is a wrapper to Peter Harris' <pharris@opentext.com> "Go line editor" <github.com:peterh/liner>.
Package liner is a wrapper to Peter Harris' <pharris@opentext.com> "Go line editor" <github.com:peterh/liner>.
notliner
Package notliner provides an alternative command.Prompter for shell scripts and tty's unsupported by liner.
Package notliner provides an alternative command.Prompter for shell scripts and tty's unsupported by liner.

Jump to

Keyboard shortcuts

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