cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Version is set at build time via -ldflags:

go build -ldflags "-X github.com/eljakani/ward/cmd.Version=v0.3.0 \
  -X github.com/eljakani/ward/cmd.Commit=$(git rev-parse --short HEAD) \
  -X github.com/eljakani/ward/cmd.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ)"

Functions

func Execute

func Execute() error

Execute runs the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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