Module: Pcrd::Reporter

Defined in:
lib/pcrd/reporter/console.rb,
lib/pcrd/reporter/null.rb

Overview

Progress reporting interface used by long-running orchestration so it does not depend on Thor/CLI output directly. Implementations:

Console — human-facing, colored
Null    — silent (tests, automation)

Contract:

info(msg)     plain line
success(msg)  line, styled as success
warn(msg)     line, styled as a warning
status(msg)   transient same-line update (carriage return, no newline)
green(str)    -> styled inline string (for composing a status line)

Defined Under Namespace

Classes: Console, Null