added usage
This commit is contained in:
parent
ff411ed1bd
commit
c3dc7dbef7
15
README.md
15
README.md
|
@ -17,3 +17,18 @@ cabal install
|
||||||
cabal run
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue