cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

Package cli wires cobra subcommands. NewRoot returns the root *cobra.Command with all subcommands attached.

Index

Constants

This section is empty.

Variables

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

version metadata; main.go injects via -ldflags. Tests use the literal strings below.

Functions

func Execute

func Execute() error

Execute is the main.go entry point.

func NewRoot

func NewRoot() *cobra.Command

NewRoot constructs the root command tree. Tests build their own root via this constructor so flag state is isolated per test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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