Documentation ¶
Overview ¶
Package cmd contains all the Cobra CLI wrappers for the command line parsing and execution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppName = "Timeconverter - A time conversion utility" AppMajorVersion = "0" AppMinorVersion = "1" AppPatchVersion = "2" // For any pre-release version, if would need to provide leading ".", like ".dev01" AppPreReleaseVer = "" AppVersion = AppMajorVersion + "." + AppMinorVersion + "." + AppPatchVersion + AppPreReleaseVer AppShortBuildTime = "[sbt]" AppLongBuildTime = "[lbt]" AppLicense = "MIT License - Hoby Smith - hoby@thoughtrealm.com" )
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetRootCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.