1 unstable release
0.1.0 | May 22, 2023 |
---|
#54 in #qrcode
12KB
125 lines
qrus A QRCode cli tools, can encode and decode
install
cargo install qrus
USEAGE:
qrus encode <CONTENT>
qrus encode "Hello, world!"
qrus encode "Hello, world!" -o ~/images
qrus decode ./image/a.png
Qrus supports the following options:
- encode generates QRCODE.
- -o output png image.
- -low low quality output.
- -quality output in medium.
- -high high quality output.
- decode decodes QRCODE images.
- help display help.
- -V display version
$ qrus help
qrcode encode and decode
Usage: qrus <COMMAND>
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
$ qrus help encode
Usage: qrus encode [OPTIONS] <CONTENT>
Arguments:
<CONTENT>
Options:
-o, --output <OUTPUT>
--low
--medium
--high
-h, --help Print help
help decode
$ qrus help decode
Usage: qrus decode <IMAGE_PATH>
Arguments:
<IMAGE_PATH>
Options:
-h, --help Print help
Dependencies
~12MB
~134K SLoC