-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50065e8
commit d9a3a47
Showing
7 changed files
with
141 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "qrgen" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["ian-hamlin <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,42 @@ | ||
qrgen 0.4.0 | ||
ian-hamlin <[email protected]> | ||
qrgen 0.5.0 | ||
|
||
USAGE: | ||
qrgen [FLAGS] [OPTIONS] <infile>... | ||
|
||
FLAGS: | ||
-s, --skip A flag indicating if the first line of the CSV is a header and should be skipped, defaults to false | ||
if not specified. | ||
if not specified | ||
-h, --help Prints help information | ||
-l, --log A flag indicating if output will be logged, defaults to false if not specified. | ||
-l, --log A flag indicating if output will be logged, defaults to false if not specified | ||
--no-rect A flag indicating if the svg output should render the <rect /> tag. Ignored if using PNG | ||
-V, --version Prints version information | ||
-v, --verbose Verbose logging mode (-v, -vv, -vvv) | ||
|
||
OPTIONS: | ||
-x, --max <QR version max> The maximum version number supported in the QR Code Model 2 standard, or 40 | ||
if not specified. [default: 40] | ||
if not specified [default: 40] | ||
-m, --min <QR version min> The minimum version number supported in the QR Code Model 2 standard, or 1 | ||
if not specified. [default: 1] | ||
if not specified [default: 1] | ||
-g, --background <background> Set the foreground colour of the QR code using a six-digit hex value. | ||
Defaults to FFFFFF [default: FFFFFF] | ||
-b, --border <border> The size of the border on the generated QR Code, defaults to 4 if not | ||
specified. [default: 4] | ||
specified [default: 4] | ||
-c, --chunk <chunk size> The number of lines to try and process in parallel, if not specified | ||
defaults to 1 and file is processed line by line. [default: 1] | ||
defaults to 1 and file is processed line by line [default: 1] | ||
-e, --error <error correction level> The error correction level used in this QR Code, or High if not specified. | ||
"Low" The QR Code can tolerate about 7% erroneous codewords. "Medium" The | ||
QR Code can tolerate about 15% erroneous codewords. "Quartile" The QR Code | ||
can tolerate about 25% erroneous codewords. "High" The QR Code can tolerate | ||
about 30% erroneous codewords. [default: High] | ||
-k, --mask <mask> The mask value to apply to the QR Code, between 0 and 7 (inclusive). | ||
-f, --format <output format type> The target output format. Defaults to SVG if not specified. [default: SVG] | ||
-o, --output <output path> Output path, or current working directory if not specified or - provided. | ||
about 30% erroneous codewords [default: High] | ||
-r, --foreground <forgeround> Set the foreground colour of the QR code using a six-digit hex value. | ||
Defaults to 000000 [default: 000000] | ||
-k, --mask <mask> The mask value to apply to the QR Code, between 0 and 7 (inclusive) | ||
-f, --format <output format type> The target output format. Defaults to SVG if not specified [default: SVG] | ||
-o, --output <output path> Output path, or current working directory if not specified or - provided | ||
[default: -] | ||
-a, --scale <scale> The side length (measured in pixels, must be positive) of each module, | ||
defaults to 8. This value only applies when using the PNG format. Must be | ||
between 1 and 255 (inclusive) [default: 8] | ||
|
||
ARGS: | ||
<infile>... Input file, must be specified. | ||
<infile>... Input file, must be specified |