Skip to main content

command_surface

Function command_surface 

Source
pub async fn command_surface<R: CommandRunner>(
    stripe: &StripeProjects<R>,
) -> Result<String, ProjectsError>
Expand description

Capture the full command surface (body only — compose with surface_header / render_surface). Each block is the normalized --help of one command, introduced by a stable ===== … ===== separator. Output is byte-stable across machines: trailing whitespace stripped, leading/trailing blank lines dropped, line order preserved as the plugin emits it (never re-sorted).