View Source Tui (fnord v0.4.26)
Please don't judge me on how convoluted this is. Owl is so mediocre and elixir's logger is so complicated to configure dynamically in newer versions that I had to bolt together this monstrosity and now I'm watching helplessly as it lurches down to the village to wreak havoc on the townsfolk.
I'm sorry, townsfolk. I'm so sorry.
Anyway, this module is responsible for rendering the TUI. For interactive invocations, it uses Owl to render dynamic blocks with spinners and colorful status indicators.
For non-interactive invocations, it uses the logger to output status messages
and warnings to STDERR. You can prevent that by invoking fnord
with:
$ fnord ... 2>/dev/null
You can force non-interactive output by piping to tee
:
$ fnord ... | tee
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.