class

Fluxion::CLI::Reporter

Inherits Fluxion::ExecutionListener < Reference < Object

Renders execution events to a terminal as the run happens.

Each item opens a line and closes it with its outcome, so progress is visible on one screen rather than scrolling past. Output from a command is indented under the item that produced it, which is what makes a failure readable without scrolling back to find what was running.

Constructors

new(output : IO = STDOUT, stream_output : Bool = false)
Source

Instance methods

on_event(event : ExecutionEvent) : Nil
Source
stream_output=(stream_output : Bool)

Whether to echo each command's own output. Off by default: a package manager's progress bars bury Fluxion's structure.

Source
stream_output?

Whether to echo each command's own output. Off by default: a package manager's progress bars bury Fluxion's structure.

Source
summary
Source