cmd

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 66 Imported by: 0

Documentation

Overview

Package cmd wires the CLI (Cobra) to the query core. Commands are humble adapters: they parse flags, resolve a saved source, build a store, delegate to the core, and format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the CLI. It is the composition root: it builds a signal-aware context, runs the root command, finalizes the diagnostics resources opened in PersistentPreRunE (on both success and error paths), and maps any error to a rendered stderr message and a non-zero exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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