cmd

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

README

cmd

The command-line interface layer. It defines the quincy binary using Cobra and wires the available subcommands to their implementations in the api and agent packages.

The root command also exposes a -v / --version flag that prints the build version string and exits. The version is baked in at build time by the CI pipeline via linker flags; in development builds it reports a placeholder value. The command tree has two top-level groups — api and agent — each with subcommands for their respective operations. The API group exposes a command to start the server and a command to generate a default config file on disk. The agent group exposes a command to start the scoring agent and a command to dump the embedded default check scripts to a local directory. All actual logic lives in the api and agent packages; this package only handles command registration and dispatch.

CLI flow diagram

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0.0.0 (development)"

Version contains the version number of the build as a string. In the repo this is a magic development value. CI changes this value during build time.

Functions

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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