X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/7e91db8fa22586917fb41a9cf94cdb5dabf2a70a..14a039db4c850c41ca1cd72c692afe59d6d1347b:/src/main.rs?ds=inline 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() + ); }