Documentation ¶ Index ¶ Variables func Set(version, commit, date string) func String() string func UserAgent() string func VersionCheck(cmd *cobra.Command, args []string) error type Command func (c Command) UI() cli.UI Constants ¶ This section is empty. Variables ¶ View Source var CmdVersion = cli.NewCmd[Command](cli.CmdRoot, "version", func(cmd *cobra.Command) {}) Functions ¶ func Set ¶ func Set(version, commit, date string) func String ¶ func String() string func UserAgent ¶ func UserAgent() string func VersionCheck ¶ added in v0.0.23 func VersionCheck(cmd *cobra.Command, args []string) error Types ¶ type Command ¶ type Command struct{} func (Command) UI ¶ func (c Command) UI() cli.UI Source Files ¶ View all Source files command.go version.go Directories ¶ Show internal Expand all Path Synopsis models Click to show internal directories. Click to hide internal directories.