Expand description
Shared output formatting for consortium CLI tools.
Provides nh-inspired progress reporting and output formatting.
Structs§
- Progress
Handler - EventHandler that drives an indicatif ProgressBar on each node completion.
- Progress
State - Tracks completed/failed node counts. Shared between ProgressHandler and caller.
Functions§
- create_
progress - Create an nh-style progress bar + state for cluster operations.
- finish_
progress - Finish the progress bar with a summary line.
- print_
gathered_ header - Print gathered output with a node header.
- print_
line_ with_ label - Print a single line with node prefix:
node1: output