cli

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Println

func Println(format string, a ...interface{})

Types

type CmdServeFlags added in v1.0.8

type CmdServeFlags struct {
	ConfigPath    string
	Host          string
	Port          uint
	DirectCommand string
	StaticPath    []string
	// contains filtered or unexported fields
}

func (*CmdServeFlags) GetConfigPath added in v1.0.8

func (a *CmdServeFlags) GetConfigPath() string

func (*CmdServeFlags) GetDirectCommand added in v1.0.8

func (a *CmdServeFlags) GetDirectCommand() string

func (*CmdServeFlags) GetHost added in v1.0.8

func (a *CmdServeFlags) GetHost() string

func (*CmdServeFlags) GetPort added in v1.0.8

func (a *CmdServeFlags) GetPort() uint

func (*CmdServeFlags) GetRevision added in v1.0.8

func (a *CmdServeFlags) GetRevision() string

func (*CmdServeFlags) GetStaticPath added in v1.0.8

func (a *CmdServeFlags) GetStaticPath() map[string]string

func (*CmdServeFlags) GetVersion added in v1.0.8

func (a *CmdServeFlags) GetVersion() string

func (*CmdServeFlags) SuppressAutoStart added in v1.0.8

func (a *CmdServeFlags) SuppressAutoStart() bool

type Commander added in v1.0.8

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

func NewCommander added in v1.0.8

func NewCommander(manifest Manifest) (*Commander, error)

func (*Commander) Run added in v1.0.8

func (c *Commander) Run() error

type Manifest added in v1.0.8

type Manifest interface {
	GetRevision() string
	GetVersion() string
	String() (string, bool)
}

Jump to

Keyboard shortcuts

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