bash
cargo install qrus
bash
qrus encode <CONTENT>
bash
qrus encode "Hello, world!"
bash
qrus encode "Hello, world!" -o ~/images
bash
qrus decode ./image/a.png
``` bash $ qrus help qrcode encode and decode
Usage: qrus
Commands: encode decode help Print this message or the help of the given subcommand(s)
Options: -h, --help Print help -V, --version Print version ```
help encode
``` bash
$ qrus help encode
Usage: qrus encode [OPTIONS]
Arguments:
Options: -o, --output
help decode
``` bash
$ qrus help decode
Usage: qrus decode
Arguments:
Options: -h, --help Print help ```