roller.reporter
Output formatting and reporting for changes-roller.
Classes
Status
|
Status indicators for operations. |
Reporter
|
Handles formatted output for the CLI. |
Module Contents
-
class roller.reporter.Status(*args, **kwds)[source]
Bases: enum.Enum
Status indicators for operations.
-
SUCCESS = '✓'[source]
-
FAILED = '✗'[source]
-
INFO = 'ℹ'[source]
-
RUNNING = '→'[source]
-
class roller.reporter.Reporter(verbose=False)[source]
Handles formatted output for the CLI.
-
verbose = False[source]
-
results: list[dict[str, Any]] = [][source]
Print the series header.
-
print_repo_start(index, total, repo_name)[source]
Print the start of repository processing.
-
print_step(status, message, indent=2)[source]
Print a step with status indicator.
-
add_result(repo_name, status, details='')[source]
Record a result for summary.
-
print_summary()[source]
Print the final summary.