qrus

Crates.ioqrus
lib.rsqrus
version0.1.0
sourcesrc
created_at2023-05-22 07:17:56.485934
updated_at2023-05-22 07:17:56.485934
descriptionA QRCode cli tools, can encode and decode
homepage
repositoryhttps://gitlab.com/andrew_ryan/qrus
max_upload_size
id870413
size35,685
zinso (zinso)

documentation

https://docs.rs/qrus

README

qrus A QRCode cli tools, can encode and decode

Crates.io Rust license

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
Commit count: 0

cargo fmt