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.
Source Files
¶
- backend.go
- cache.go
- color.go
- combine.go
- complete.go
- config.go
- data.go
- data_lifecycle.go
- diff.go
- driver.go
- errrender.go
- exec.go
- explain.go
- gron.go
- help.go
- inspect.go
- jq.go
- keyring.go
- keyring_cmd.go
- logging.go
- ls.go
- man.go
- mcp.go
- mcp_tools.go
- move.go
- opener.go
- output.go
- password.go
- ping.go
- pprof.go
- progress.go
- resolve.go
- root.go
- schema.go
- source.go
- sourcespec.go
- version.go
Click to show internal directories.
Click to hide internal directories.