Add multi-remote support for GitLab (#1)
Co-authored-by: Ryan D McGuire <ryand_mcguire@sweetwater.com> Reviewed-on: 50W/git-project-manager#1
This commit is contained in:
@@ -49,15 +49,13 @@ func init() {
|
||||
|
||||
rootCmd.PersistentFlags().String("config", "",
|
||||
"config file (default is "+defConfigPath+")")
|
||||
rootCmd.PersistentFlags().String("gitlabHost", defGitlabHost,
|
||||
"GitLab Hostname (e.g. gitlab.com)")
|
||||
rootCmd.PersistentFlags().String("gitlabToken", "",
|
||||
"GitLab Tokenname (e.g. gitlab.com)")
|
||||
rootCmd.PersistentFlags().String("projectPath", "",
|
||||
"Sets a path for local clones of projects")
|
||||
rootCmd.PersistentFlags().String("logLevel", defLogLevel,
|
||||
"Default log level -- info, warn, error, debug")
|
||||
|
||||
rootCmd.RegisterFlagCompletionFunc("logLevel", validLogLevelsFunc)
|
||||
|
||||
viper.BindPFlags(rootCmd.PersistentFlags())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user