cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string = "unknown"
	// buildDate allows vendor-specified build date when .git/ is unavailable.
	BuildDate string = "unknown"
	// vendorInfo contains vendor notes about the current build.
	VendorInfo string = "unknown"

	// the commit the tool was built on
	Commit string = "unknown"
)

Functions

func BuildVersionString added in v0.4.0

func BuildVersionString(verbose bool) (versionString string)

BuildVersionString creates a version string. This is what you see when running "radioboat version".

func Execute

func Execute()

Types

type KeyMap added in v0.3.0

type KeyMap struct {
	Quit key.Binding
}

func (KeyMap) FullHelp added in v0.3.0

func (k KeyMap) FullHelp() [][]key.Binding

FullHelp returns keybindings for the expanded help view. It's part of the key.Map interface.

func (KeyMap) ShortHelp added in v0.3.0

func (k KeyMap) ShortHelp() []key.Binding

ShortHelp returns keybindings to be shown in the mini help view. It's part of the key.Map interface.

type Result added in v0.3.0

type Result struct {
	// contains filtered or unexported fields
}

A result after a check

Jump to

Keyboard shortcuts

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