Skip to main content

emit

Function emit 

Source
pub fn emit(rendered: &str, path: Option<&Path>) -> Result<(), CliError>
Expand description

Write a rendered report to path (the value of REPORT_PATH_ENV) or, when it is None, to stdout.

Errors: CliError::Io when the report cannot be written.