cmd

package
v0.0.0-...-8ca6fb7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProtoFileRequired = errors.New("least one proto file required")
)

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func New

func New(name, version string, ui cui.UI) *Command

New instantiate CLI interface. `ui` is used for both of CLI mode and REPL mode.

func (*Command) Error

func (c *Command) Error(err error)

func (*Command) Run

func (c *Command) Run(args []string) int

func (*Command) Usage

func (c *Command) Usage()

func (*Command) Version

func (c *Command) Version()

Jump to

Keyboard shortcuts

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