Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "beer",
Version: version,
Short: "CLI for managing your JIRA / Gerrit / git workflow.",
Long: `Beer Review is a CLI for managing your JIRA <--> Gerrit workflow.
It can be used to create new tickets, work on existing ones, and submit reviews.
For example:
$ beer brew ABC-123
This will branch from the current HEAD and set the branch name to ABC-123 and add
an empty commit with the JIRA ID and JIRA summary text as the first line of
the commit message.`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type Config ¶ added in v0.6.3
type Config struct { Jira JiraConfig Gerrit GerritConfig GitHub GithubConfig ReviewTool ReviewTool }
type Defaults ¶ added in v0.6.3
type Defaults struct { Branch string ReviewTool ReviewTool }
type GerritConfig ¶
type GerritConfig struct {
URL string
}
GerritConfig configuration structure for gerrit
type GithubConfig ¶ added in v0.6.3
type GithubConfig struct { }
type JiraConfig ¶
JiraConfig configuration structure for JIRA
type ReviewTool ¶ added in v0.6.3
type ReviewTool string
const ( Gerrit ReviewTool = "gerrit" GitHub ReviewTool = "github" )
func (ReviewTool) Normalize ¶ added in v0.6.3
func (r ReviewTool) Normalize() ReviewTool
Click to show internal directories.
Click to hide internal directories.