Skip to main content

Module cli

Module cli 

Source
Expand description

Phase 2d Task 2 freezes the clap derive shape so that domi --help, domi tail --help, domi replay --help, and domi push --help render the flags the brief mandates. Per-handler run functions are still unimplemented!() stubs — Tasks 3 (push), 4 (replay), 5 (tail) fill them in. Stub run signatures take &url::Url so the URL parsing in cli::run is the single entry point that activates parse_server (Task 1 review Minor M1).

The per-subcommand arg structs (TailArgs, ReplayArgs, PushArgs) live in their own files (tail.rs, replay.rs, push.rs) because Tasks 3-5 own the implementations and want a single source of truth per subcommand. This file only owns the top-level Cli and Command derive types plus the run() dispatch.

Structs§

Cli
domi — agent CLI for the DOMicile live feedback server.

Enums§

Command

Functions§

run
Parse Cli from std::env::args() and dispatch to the requested subcommand.