commander

package
v0.0.0-...-a27c56c Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestCommander_AddDescription

func TestCommander_AddDescription(t *testing.T)

func TestCommander_AddScript

func TestCommander_AddScript(t *testing.T)

func TestCommander_AddVersion

func TestCommander_AddVersion(t *testing.T)

func TestCommander_Execute

func TestCommander_Execute(t *testing.T)

func TestNewCommander

func TestNewCommander(t *testing.T)

Types

type Commander

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

func NewCommander

func NewCommander(name, usg string) *Commander

func (*Commander) AddDescription

func (c *Commander) AddDescription(s string)

func (*Commander) AddScript

func (c *Commander) AddScript(name, usg string, dir, script string)

func (*Commander) AddVersion

func (c *Commander) AddVersion(s string)

func (*Commander) Execute

func (c *Commander) Execute() error

func (*Commander) Render

func (c *Commander) Render(s string) string

func (*Commander) SyncEnv

func (c *Commander) SyncEnv()

Jump to

Keyboard shortcuts

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