From c3dc7dbef7696345246552163a6817b07da57401 Mon Sep 17 00:00:00 2001 From: whx Date: Fri, 20 May 2022 00:14:22 +0200 Subject: [PATCH] added usage --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 +``` + +