use prettytable for tabular outputs

This commit is contained in:
Dustin J. Mitchell
2020-11-23 21:58:45 -05:00
parent f7f5c379ea
commit f31a96176d
6 changed files with 180 additions and 2 deletions

8
cli/src/table.rs Normal file
View File

@@ -0,0 +1,8 @@
use prettytable::format;
pub(crate) fn format() -> format::TableFormat {
format::FormatBuilder::new()
.column_separator(' ')
.borders(' ')
.build()
}