Documentation ¶
Index ¶
Constants ¶
View Source
const VersionCMDName = "version"
Variables ¶
View Source
var VersionCMD = &cobra.Command{ Use: VersionCMDName, Short: "print version and build information", Long: "Print the version information", Run: func(cmd *cobra.Command, args []string) { fmt.Printf("pget Version %s - Build Time %s\n", version.GetVersion(), version.BuildTime) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.