Added a basic README.
This commit is contained in:
17
README.md
Normal file
17
README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
@@ -18,7 +18,6 @@ use pbr::{ProgressBar, Units};
|
|||||||
|
|
||||||
mod bbp;
|
mod bbp;
|
||||||
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
let program = args[0].clone();
|
let program = args[0].clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user