cli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 CmdReqFlags added in v1.0.1

type CmdReqFlags struct {
	Method   string
	Url      string
	Header   []string
	Body     string
	Snapshot bool
}

func (*CmdReqFlags) GetBody added in v1.0.1

func (f *CmdReqFlags) GetBody() string

func (*CmdReqFlags) GetHeader added in v1.0.1

func (f *CmdReqFlags) GetHeader() []string

func (*CmdReqFlags) GetMethod added in v1.0.1

func (f *CmdReqFlags) GetMethod() string

func (*CmdReqFlags) GetSnapshot added in v1.0.1

func (f *CmdReqFlags) GetSnapshot() bool

func (*CmdReqFlags) GetUrl added in v1.0.1

func (f *CmdReqFlags) GetUrl() string

type CmdRunFlags added in v1.0.1

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

func (*CmdRunFlags) GetConfigPath added in v1.0.1

func (a *CmdRunFlags) GetConfigPath() string

func (*CmdRunFlags) GetRevision added in v1.0.1

func (a *CmdRunFlags) GetRevision() string

func (*CmdRunFlags) GetSpecDirs added in v1.0.1

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

func (*CmdRunFlags) GetVersion added in v1.0.1

func (a *CmdRunFlags) 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