Documentation
¶
Overview ¶
Package cli implements the Console CLI: a single static binary that serves the dashboard + API, manages feature flags and status components, and runs the onboarding assistant (Human and AI-Assisted modes).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Version is the release version, typically stamped by the calling main
// via -ldflags "-X main.version=<tag>". Empty or "dev" falls back to the
// module version recorded by the Go toolchain (e.g. `go install
// …/cmd/console@vX.Y.Z`).
Version string
// Recorder builds the instrumentation Recorder for a config. Nil selects
// app.DefaultRecorder (obs.Nop, or an in-memory registry when cfg.Metrics).
Recorder func(cfg config.Config) obs.Recorder
}
Options configures Main. A second main package (for example an OTel-enabled build) reuses the CLI by supplying its own Options.
Click to show internal directories.
Click to hide internal directories.