Documentation ¶ Index ¶ Variables func GetVersion() string Constants ¶ This section is empty. Variables ¶ View Source var Version string Version is set via ldflags View Source var VersionCmd = &cobra.Command{ Use: "version", Short: "Print the version number of Hyphen", Args: cobra.NoArgs, Long: `All software has versions. This is Hyphen's`, Run: func(cmd *cobra.Command, args []string) { printVersionInfo() }, } Functions ¶ func GetVersion ¶ func GetVersion() string GetVersion returns the current version of the CLI Types ¶ This section is empty. Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.