X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/7e91db8fa22586917fb41a9cf94cdb5dabf2a70a..31af9aac0a32a20cf4111a64af65871b188bcd72:/src/main.rs?ds=sidebyside diff --git a/src/main.rs b/src/main.rs index e7a11a9..6102247 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,12 @@ fn main() { - println!("Hello, world!"); + print!( + "{}", + tablify::tablify( + &tablify::Config { + column_threshold: 2 + }, + std::io::stdin() + ) + .unwrap() + ); }