added usage

This commit is contained in:
Stefan Friese 2022-05-20 00:14:22 +02:00
parent ff411ed1bd
commit c3dc7dbef7
1 changed files with 15 additions and 0 deletions

View File

@ -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
```