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