2020-04-24 23:36:52 +00:00
|
|
|
#! /bin/sh
|
|
|
|
choice="$1";
|
|
|
|
shift
|
|
|
|
case "$choice" in
|
2021-12-06 16:07:01 +00:00
|
|
|
encode | create | write | CommandLineEncoder)
|
|
|
|
zxing-cmdline-encoder "$@";
|
|
|
|
;;
|
|
|
|
decode | read | run | CommandLineRunner)
|
|
|
|
zxing-cmdline-runner "$@";
|
|
|
|
;;
|
|
|
|
help | usage | --help | --usage | -h)
|
|
|
|
zxing read;
|
|
|
|
zxing write;
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
zxing read "$choice" "$@"
|
|
|
|
;;
|
2020-04-24 23:36:52 +00:00
|
|
|
esac
|