Licensir v0.5.1 TableRex
TableRex generates configurable, text-based tables for display
Link to this section Summary
Functions
A shortcut function to render with a one-liner.
Sacrifices all customisation for those that just want sane defaults.
Returns {:ok, rendered_string}
on success and {:error, reason}
on failure.
A shortcut function to render with a one-liner.
Sacrifices all customisation for those that just want sane defaults.
Returns the rendered_string
on success and raises RuntimeError
on failure.
Link to this section Functions
quick_render(rows, header \\ [], title \\ nil)
quick_render(list(), list(), String.t() | nil) ::
TableRex.Renderer.render_return()
quick_render(list(), list(), String.t() | nil) :: TableRex.Renderer.render_return()
A shortcut function to render with a one-liner.
Sacrifices all customisation for those that just want sane defaults.
Returns {:ok, rendered_string}
on success and {:error, reason}
on failure.
quick_render!(rows, header \\ [], title \\ nil)
A shortcut function to render with a one-liner.
Sacrifices all customisation for those that just want sane defaults.
Returns the rendered_string
on success and raises RuntimeError
on failure.