chore: modified README and added Reqs
This commit is contained in:
@@ -7,5 +7,3 @@ Generates SVG QR codes from any text input.
|
|||||||
```
|
```
|
||||||
python qr.py <TEXT> -o <OUTPUT_PATH>
|
python qr.py <TEXT> -o <OUTPUT_PATH>
|
||||||
```
|
```
|
||||||
|
|
||||||
## notice
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Reqs
|
||||||
|
|
||||||
|
## cli options (args)
|
||||||
|
- **raw text mode**: `-t <TEXT>` or `-t "<TEXT>"` (for those including space/tabs); `-t` can be omitted as this is the default mode.
|
||||||
|
- **output path**: `-o PATH/TO/SVG`. Automatically append `.svg` suffix if absent. When whole option is absent, use input text but path-incompatible characters substituted with `_`, and filename capped at 32 chars.
|
||||||
|
- **batch mode**: `-i <FILE_OF_LINES_TO_CONVERT>` ; output automatically dumps generated svgs per line of input file under `output/`; SVG files named after input lines verbatim except that path-incompatible characters substituted with `_` (underbar), and filename capped at 32 chars. Disregard `-o`.
|
||||||
Reference in New Issue
Block a user