cli

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 51 Imported by: 0

Documentation

Overview

Package cli wires tomo's command surface: the cobra tree, the global flags, and the fang-rendered help and errors. The runtime itself lives under pkg; this layer parses flags and talks to the terminal.

Index

Constants

This section is empty.

Variables

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

Build metadata, stamped by goreleaser.

Functions

func Execute

func Execute(ctx context.Context) int

Execute builds the root command and runs it through fang. main passes the signal-aware context so Ctrl-C lands as a context cancel everywhere.

Types

This section is empty.

Jump to

Keyboard shortcuts

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