cli

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package cli builds the cobra command tree and owns process-level error reporting and exit codes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, bi BuildInfo) int

Execute builds and runs the root command, returning the process exit code.

Types

type BuildInfo

type BuildInfo struct{ Version, Commit, Date string }

BuildInfo carries the injected build metadata.

Jump to

Keyboard shortcuts

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