mirror of https://github.com/CrimsonTome/tldr.git
qrencode: add print to terminal examples (#3823)
parent
7e8b6b3eb8
commit
e1355b2e87
|
@ -10,3 +10,11 @@
|
||||||
- Convert an input file to a QR code and save to an output file:
|
- Convert an input file to a QR code and save to an output file:
|
||||||
|
|
||||||
`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}`
|
`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}`
|
||||||
|
|
||||||
|
- Convert a string to a QR code and print it in terminal:
|
||||||
|
|
||||||
|
`qrencode -t ansiutf8 {{string}}`
|
||||||
|
|
||||||
|
- Convert input from pipe to a QR code and print it in terminal:
|
||||||
|
|
||||||
|
`echo {{string}} | qrencode -t ansiutf8`
|
||||||
|
|
Loading…
Reference in New Issue