Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCurrent ¶ added in v1.3.0
NewCurrent returns `current` command
func NewVersion ¶ added in v1.3.0
NewVersion returns `version` command
Types ¶
type Cmd ¶ added in v1.3.0
type Cmd struct {
cobra.Command
// Version is the version number or commit hash
// These variables should be set by the linker when compiling
Version string
// CommitHash is the git hash of last commit
CommitHash string
// CompileDate is the date of build
CompileDate string
// contains filtered or unexported fields
}
Cmd is an CLI app
Click to show internal directories.
Click to hide internal directories.