cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) error

Types

type ServeCommand

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

func NewServeCommand

func NewServeCommand(io ui.IO) *ServeCommand

func (*ServeCommand) Register

func (cmd *ServeCommand) Register(r command.Registerer)

Register registers the command, arguments and flags on the provided Registerer.

func (*ServeCommand) Run

func (cmd *ServeCommand) Run() error

Run handles the command with the options as specified in the command.

Jump to

Keyboard shortcuts

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