commands

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.0.1"
)

Variables

View Source
var VersionFunc = func() {
	fmt.Printf("mkman %s\n", Version)
	os.Exit(0)
}

Functions

This section is empty.

Types

type MkmanCommand

type MkmanCommand struct {
	Version   func()           `long:"version" description:"Print version"`
	PrintAmit PrintAmitCommand `command:"print-amit" description:"Prints the man behind 'mkman'"`
}
var Mkman MkmanCommand = MkmanCommand{
	Version: VersionFunc,
}

type PrintAmitCommand

type PrintAmitCommand struct {
}

func (*PrintAmitCommand) Execute

func (command *PrintAmitCommand) Execute(args []string) error

Jump to

Keyboard shortcuts

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