Module print_table

Module print_table 

Source
Expand description

Contains functions to print the generated tables from the library to the console.

Functions§

create_table 🔒
Create a table from cells and column titles.
print_table 🔒
Print a table and handle errors
print_timelogs_in_timeframes_by_user
Print a table of today’s, yesterday’s, this week’s and this month’s time spent by user.
print_total_time_by_label
Print a table with the total time spent per selected label.
print_total_time_by_milestone
Print a table with the total time spent per milestone.
to_cell_vec 🔒
Transform a Vec<Vec<String>> from the Library to a Vec<Vec<CellStruct>> used by the cli_table crate. The first column is left-aligned, all others right-aligned.