command

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2013 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandRegistry  = make(map[string]Command)
	AdminCmdRegistry = make(map[string]Command)
)

Functions

func Admin

func Admin(ctx *env.Context)

func Gem

func Gem(ctx *env.Context)

func Help

func Help(ctx *env.Context)

func List

func List(ctx *env.Context)

List all rubies registered with uru, identifying the currently active ruby

func PrintCommandSummary

func PrintCommandSummary()

func Ruby

func Ruby(ctx *env.Context)

func Use

func Use(ctx *env.Context, msg string)

func Version

func Version(ctx *env.Context)

Types

type Command

type Command struct {
	Name    string
	Aliases []string
	Usage   string
	HelpMsg string
	Eg      string
}

Jump to

Keyboard shortcuts

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