version

package
v1.8.46-rc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Messager

type Messager interface {
	LoadVersionMessages(cliVersion string) chan *messager.VersionMessage
}

type Printer

type Printer interface {
	PrintMessage(messageText string, messageColor string)
}

type VersionCommandContext

type VersionCommandContext struct {
	CliVersion string
	Messager   Messager
	Printer    Printer
}

Jump to

Keyboard shortcuts

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