Artificery.Console.Table (artificery v0.4.3)

A printer for tabular data.

Link to this section Summary

Functions

Given a title, header, and rows, formats the data as a table.

Given a title, header, and rows, prints the data as a table.

Link to this section Functions

Link to this function

format(title, header, rows, opts \\ [])

Given a title, header, and rows, formats the data as a table.

Takes an optional keyword list of options:

  • :padding - (integer) sets the padding around columns

This function formats the data as iodata, it is up to the caller to print it.

Link to this function

print(title, header, rows, opts \\ [])

Given a title, header, and rows, prints the data as a table.

Takes the same options as format/4.