tool

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: BSD-3-Clause Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	HelpFlag    = "help"
	VersionFlag = "version"
	VerboseFlag = "verbose"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	*application.Application
	// contains filtered or unexported fields
}

func New

func New(prefix string) (*Tool, error)

func (*Tool) Args

func (t *Tool) Args() []string

func (*Tool) CLI

func (t *Tool) CLI() *cli.App

func (*Tool) Initialize

func (t *Tool) Initialize() error

func (*Tool) ParseContext

func (t *Tool) ParseContext(context *cli.Context) bool

func (*Tool) Run

func (t *Tool) Run() error

func (*Tool) Terminate

func (t *Tool) Terminate()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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