version

package
v0.0.22-winget-test Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdVersion = cli.NewCmd[Command](cli.CmdRoot, "version", func(cmd *cobra.Command) {
	cmd.Args = cobra.NoArgs
})

Functions

func Set

func Set(version, commit, date string)

func String

func String() string

func UserAgent

func UserAgent() string

Types

type Command

type Command struct{}

func (Command) UI

func (c Command) UI() cli.UI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL