cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdFlags

type CmdFlags struct {
	ConfigPath string
	SpecDirs   []string
	// contains filtered or unexported fields
}

func (*CmdFlags) GetConfigPath

func (a *CmdFlags) GetConfigPath() string

func (*CmdFlags) GetRevision

func (a *CmdFlags) GetRevision() string

func (*CmdFlags) GetSpecDirs

func (a *CmdFlags) GetSpecDirs() []string

func (*CmdFlags) GetVersion

func (a *CmdFlags) GetVersion() string

type Commander

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

func NewCommander

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

func (*Commander) Run

func (c *Commander) Run() error

type Manifest

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