Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "lab", Short: "A Git Wrapper for GitLab", Long: ``, Run: func(cmd *cobra.Command, args []string) { formatChar := "\n" if git.IsHub { formatChar = "" } git := git.New() git.Stdout = nil git.Stderr = nil usage, _ := git.CombinedOutput() fmt.Printf("%s%sThese GitLab commands are provided by lab:\n%s\n\n", string(usage), formatChar, labUsage(cmd)) }, }
RootCmd represents the base command when called without any subcommands
View Source
var Version string
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.