Skip to main content

Module cli

Module cli 

Source
Expand description

CLI argument parsing and command dispatch.

Uses [clap] to define the dol command-line interface: subcommands (config, repl, top, dashboard), flags (--output, --store, --watch, etc.), and the positional DOL query string. The run function dispatches execution based on the parsed arguments.

§Example

let cli = Cli::parse_from(["dol", "observe containers"]);
cli::run(cli).await?;

Structs§

Cli

Enums§

CliCommand
OutputFormat
Output format: table, json, json-compact, csv, jsonl.

Functions§

run