X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/7e91db8fa22586917fb41a9cf94cdb5dabf2a70a..06a6a5cad195d0b7504c4e7b4caf085487f53578:/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() + ); }