cmd

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source

Banner is the VEF CLI ASCII art logo.

Variables

View Source
var (
	Version string
	Date    string
)

Functions

func Execute

func Execute()

Execute runs the root command.

func PrintBanner

func PrintBanner()

PrintBanner prints the banner and version info.

Types

type VersionInfo added in v0.8.1

type VersionInfo struct {
	Version string
	Date    string
	Dirty   bool
}

VersionInfo holds version and build information.

func GetVersionInfo added in v0.8.1

func GetVersionInfo(ldflagsVersion, ldflagsDate string) VersionInfo

GetVersionInfo returns version information from ldflags or runtime/debug.

func (VersionInfo) String added in v0.8.1

func (v VersionInfo) String() string

String formats version info as a readable string.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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