Skip to main content

Module reporter

Module reporter 

Source
Expand description

The CLI’s terminal implementation of the core reporting seam.

TerminalReporter is the only consumer of the process-global output mode (crate::cli::output::active_mode) and quiet flag (crate::cli::output::is_quiet) on behalf of core: every message a core engine or service client reports reaches the terminal through this type, which decides per channel whether and where it is rendered. Core itself never consults these globals (enforced by tests/core_cli_boundary.rs).

Structs§

TerminalReporter
Renders subx_core::core::report channels to stdout/stderr.

Functions§

terminal_reporter
Shared handle to the CLI’s terminal reporter, with progress bars enabled.
terminal_reporter_with_progress_bar
Shared handle to a terminal reporter honouring general.enable_progress_bar.