cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	sys.IO

	Debug     *os.File
	Verbosity int
}

Base contains dependencies and options common to all commands

type TestCasesCmd

type TestCasesCmd struct {
	File       string
	SkipVerify bool
	Verbose    bool
}

func (*TestCasesCmd) Run

func (c *TestCasesCmd) Run(base *Base) error

type TestCmd

type TestCmd struct {
	File    string
	Verbose bool
}

func (*TestCmd) Run

func (c *TestCmd) Run(base *Base) error

type TransformCmd

type TransformCmd struct {
	Patterns string
	SrcURI   string
	DstURI   string
	ErrURI   string
}

func (*TransformCmd) Run

func (c *TransformCmd) Run(base *Base) error

type VersionCmd

type VersionCmd struct {
	App   string
	Build string

	BuildInfo *debug.BuildInfo
	Verbose   bool
}

A VersionCmd is a request to reports the app's version

func (*VersionCmd) Run

func (c *VersionCmd) Run(base *Base) error

Run executes the command

Jump to

Keyboard shortcuts

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