Skip to main content

handle

Function handle 

Source
pub fn handle(command: &str, output: &str, _crp_mode: CrpMode) -> String
Expand description

Compresses shell command output using the unified compression pipeline. This delegates to the same compress_if_beneficial logic used by the CLI, ensuring consistent behavior for excluded_commands, structural routing, and terse.