Documentation ¶
Overview ¶
Package cmd provides CLI interfaces for the `supraworker` application.
Package cmd defines command tools. Version tools for Supraworker
Index ¶
Constants ¶
View Source
const ( // Version defines main version number Version = "0.4.4" // VersionPrerelease is pre-release marker for the version // such as "dev" (in development), "beta", "rc1", etc. VersionPrerelease = "dev" )
Variables ¶
View Source
var GitCommit string
GitCommit defines the git commit that was used at runtime. This will be filled in by the compiler.
Functions ¶
func Execute ¶
func Execute() error
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. return error
func FormattedVersion ¶
func FormattedVersion() string
FormattedVersion returns formatted version as string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.