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
Version is set by main during build
Functions ¶
Types ¶
This section is empty.
Source Files ¶
- ci.go
- ciLint.go
- clone.go
- fork.go
- issue.go
- issueBrowse.go
- issueClose.go
- issueCreate.go
- issueList.go
- issueShow.go
- mergeRequest.go
- mr.go
- mrBrowse.go
- mrCheckout.go
- mrClose.go
- mrCreate.go
- mrList.go
- mrMerge.go
- mrShow.go
- root.go
- snippet.go
- snippetBrowse.go
- snippetCreate.go
- snippetDelete.go
- snippetList.go
- version.go
Click to show internal directories.
Click to hide internal directories.