20 lines
492 B
Markdown
20 lines
492 B
Markdown
# SVG QR generator
|
|
|
|
Generates SVG QR codes from any text input.
|
|
|
|
## Usage
|
|
|
|
```
|
|
uv run svgqr "Text to encode"
|
|
uv run svgqr -t "Text to encode" -o path/to/code.svg
|
|
uv run svgqr -i values.txt
|
|
uv run svgqr --yaml values.yaml
|
|
```
|
|
|
|
Text can be passed positionally or with `-t`. Without `-o`, the program uses a
|
|
safe, truncated form of the text as the SVG filename. Batch mode writes SVGs to
|
|
`output/` and ignores `-o`.
|
|
|
|
`--yaml` accepts a flat mapping of output name to text, such as
|
|
`name: text`.
|