diff --git a/README.md b/README.md index 7658362..a2a1490 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,18 @@ cabal install cabal run ``` +## Usage + +* Pipe via stdin to transcode +* Modes are __encoding__ and __decoding__ +* Encoding is done in the following way +```sh +echo Hello, World! | based encode --b91 +>OwJh>}AQ;r@@Y?FF +``` +* Decoding is implicated in the following way +``` +echo '>OwJh>}AQ;r@@Y?FF' | based --b91 +``` + +