mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-11 23:29:30 +00:00
General improvements
* Fix calculations as per https://github.com/lukaszraczylo/semver-generator/issues/8 * Change name of default config file as per https://github.com/lukaszraczylo/semver-generator/issues/2 * Add access to private repositories as per https://github.com/lukaszraczylo/semver-generator/issues/3 * Update documentation
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ func init() {
|
||||
if !strings.HasSuffix(os.Args[0], ".test") {
|
||||
cobra.OnInitialize(repo.setupCobra)
|
||||
rootCmd.PersistentFlags().StringVarP(&varRepoName, "repository", "r", "https://github.com/lukaszraczylo/simple-gql-client", "Remote repository URL.")
|
||||
rootCmd.PersistentFlags().StringVarP(&varLocalCfg, "config", "c", "config.yaml", "Path to config file")
|
||||
rootCmd.PersistentFlags().StringVarP(&varLocalCfg, "config", "c", "semver.yaml", "Path to config file")
|
||||
rootCmd.PersistentFlags().BoolVarP(&varUseLocal, "local", "l", false, "Use local repository")
|
||||
rootCmd.PersistentFlags().BoolVarP(&varShowVersion, "version", "v", false, "Display version")
|
||||
rootCmd.PersistentFlags().BoolVarP(&varDebug, "debug", "d", false, "Enable debug mode")
|
||||
|
||||
Reference in New Issue
Block a user