root

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(cmds ...*cobra.Command)

AddCommand is the hook used by our sub-commands to register themselves into our CLI dispatch system. Per-module init() hooks should use this.

func Errored

func Errored()

Errored bumps an error count, used to determine if the main program should exit false or not.

func GetErrorCount

func GetErrorCount() int

GetErrorCount is intended for use by main(), to determine how to exit.

func Start

func Start()

Start is the entry-point used by main(), after all the sub-modules have registered their availability via AddCommand calls in their init functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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