Skip to main content

Module output

Module output 

Source
Expand description

Output formatting for table and JSON modes.

Provides helpers to render API responses as either a UTF-8 styled terminal table (with colored status) or raw JSON.

Functions§

print_output
Convenience wrapper: render to stdout.
render_output
Render a value as JSON or table into the given writer.
run_detail_table
Render a single run detail as a table.
runs_table
Render a list of runs as a table.
stats_table
Render stats as a table.
steps_table
Render a run’s steps as a table.
workflow_detail_table
Render a workflow detail as a table.
workflows_table
Render a list of workflows as a table.