cli

package
v1.0.1-0...-1aa678e Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpKvParams

type OpKvParams struct {
}

OpKvParams describes parameters

func (*OpKvParams) Printer

func (p *OpKvParams) Printer(opts ...helper.PrinterOpts) helper.Printer

Printer prints outputs

func (*OpKvParams) Runner

func (p *OpKvParams) Runner(opts ...helper.RunnerOpts) helper.Runner

Runner runs ex commands

type Params

type Params interface {
	Runner(opts ...helper.RunnerOpts) helper.Runner
	Printer(opts ...helper.PrinterOpts) helper.Printer
}

Params interface provides

type Stream

type Stream struct {
	In  io.Reader
	Out io.Writer
	Err io.Writer
}

Stream describes stream of cli

Jump to

Keyboard shortcuts

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