From a18a709a7662c0e0ad3f1cb7a48095683188bb28 Mon Sep 17 00:00:00 2001 From: logaritmisk Date: Tue, 7 Jun 2016 17:52:06 +0200 Subject: [PATCH] Added a basic README. --- README.md | 17 +++++++++++++++++ src/main.rs | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d1dc310 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# PI Archive + +Only works for single files, and is slooooooow. And when I say slow, I mean really slow. +And the compression rate? Not so god, in fact, the result is larger than the original. +But hey, it works! And it's using freaking PI!!! + +## Compress + +```shell +$ piar -c my_file.txt my_file.pi +``` + +## Decompress + +```shell +$ piar -d my_file.pi my_file.txt +``` diff --git a/src/main.rs b/src/main.rs index 9db8e74..3608f42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,6 @@ use pbr::{ProgressBar, Units}; mod bbp; - fn main() { let args: Vec = env::args().collect(); let program = args[0].clone();