types

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Debug   bool
	Base    string
	Options []string
}

Cmd Command.

func (*Cmd) AddOptions

func (g *Cmd) AddOptions(option string)

AddOptions Add one command option.

func (*Cmd) ApplyOptions added in v0.10.0

func (g *Cmd) ApplyOptions(options ...Option)

ApplyOptions Apply command options.

type Option

type Option func(g *Cmd)

Option Command option.

Jump to

Keyboard shortcuts

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