This commit is contained in:
2023-12-08 16:52:26 -05:00
parent 424e572fe0
commit f17ce69ef8
23 changed files with 648 additions and 104 deletions

View File

@@ -12,21 +12,13 @@ import (
"gitlab.sweetwater.com/it/devops/tools/gitlab-project-manager/internal/config"
)
const (
defGitlabHost = "gitlab.sweetwater.com"
defProjectsPath = "~/work/projects"
defLogLevel = "info"
)
var conf config.Config
var plog *pterm.Logger
var rootCmd = &cobra.Command{
Use: "gitlab-project-manager",
Short: "Find and use GitLab projects locally",
Long: `Finds GitLab projects using fuzzy-find, remembering
your chosen term for the project as an alias, and offers helpful
shortcuts for moving around in projects and opening your code`,
Use: "gitlab-project-manager",
Short: "Find and use GitLab projects locally",
Long: rootCmdLong,
PersistentPreRun: initRootCmd,
}