Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SemverBumpCommand = &cobra.Command{ Use: "semver-bump", Short: "Semantic Versioning Bumper", Long: `A semantic versioning file bumper built by giantswarm`, Run: func(cmd *cobra.Command, args []string) { sb, err := getSemverBumper() if err != nil { log.Fatal(err) } currentVersion, err := sb.GetCurrentVersion() if err != nil { log.Fatal(err) } fmt.Printf("Current version is: %s\n", currentVersion) }, }
Functions ¶
func AddCommands ¶
func AddCommands()
func AddGlobalFlags ¶
func AddGlobalFlags()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.