Skip to main content

Module daemon_cli

Module daemon_cli 

Source
Expand description

Daemon CLI Handlers - HTTP endpoints for thin-client CLI operations

This module provides the daemon endpoints that the st thin client calls to perform scanning and formatting operations. All the heavy lifting happens here in the daemon.

“The meat stays in the daemon!” - Hue

Structs§

CliErrorResponse
Error response
CliScanRequest
CLI scan request - all options from the CLI
CliScanResponse
CLI scan response
ScanStats
Scan statistics

Functions§

cli_scan_handler
Handle CLI scan request
cli_stream_handler
Handle streaming CLI scan request (SSE) - simplified version For now, this just returns the full response as JSON TODO: Implement proper SSE streaming