cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func SetVersionInfo added in v0.1.4

func SetVersionInfo(version, commit, date string)

SetVersionInfo wires release metadata from main into the cmd package. Called once from main.main before Execute.

Types

This section is empty.

Directories

Path Synopsis
internal
cliutil
Package cliutil collects boilerplate shared across cobra commands in cmd/.
Package cliutil collects boilerplate shared across cobra commands in cmd/.

Jump to

Keyboard shortcuts

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