version

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppConfig     *config.Config
	CoreVersion   = "unknown"
	GolangVersion = "unknown"
	BuildTime     = "unknown"
)

Functions

func Init

func Init(cfg *config.Config)

Init initializes the global configuration variable.

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd creates a new cobra.Command for the version command.

Types

type CoreVersions

type CoreVersions struct {
	Versions      shared.Versions              `json:"versions"`
	PluginDetails map[string]shared.PluginMeta `json:"plugin_details"`
}

Versions struct holds version information for the core application and plugins.

Jump to

Keyboard shortcuts

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