Skip to main content

Crate steamroom_cli

Crate steamroom_cli 

Source
Expand description

Library surface for steamroom-cli. The binary lives in main.rs; this exposes the daemon protocol and server pieces for integration tests in tests/.

Modules§

cli
commands
Per-subcommand handlers. Each run_* takes an injected JobSink, an externally-supplied authenticated SteamClient<LoggedIn>, and a CancellationToken. The daemon worker reuses these across requests without changing the direct-mode CLI’s behavior.
daemon
Daemon mode for steamroom.
download
errors
sink
Output sink abstraction shared by direct-mode CLI and the daemon worker. Every run_* command in commands/ writes results through a &dyn JobSink so the same code paths produce stdout text in direct mode and broadcast events in daemon mode.