cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitCodeOK int = 0

	// Error Starts from 10
	ExitCodeError = 10 + iota
	ExitCodeParseFlagsError
)
View Source
const EnvGitHubToken = "GITHUB_TOKEN"

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "ghbr",
	Short: "GHBR is a simple CLI tool to create and update your Homebrew formula",
}

Functions

func Execute

func Execute() int

func NewCreateCmd

func NewCreateCmd(generator hbr.Generator) *cobra.Command

func NewReleaseCmd

func NewReleaseCmd(generator hbr.Generator) *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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