mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 21:55:33 +02:00
parent
abe0abda67
commit
7916181b6e
1 changed files with 12 additions and 0 deletions
12
pages/common/qr.md
Normal file
12
pages/common/qr.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# qr
|
||||||
|
|
||||||
|
> Generate QR codes in the terminal with ANSI VT-100 escape codes.
|
||||||
|
> More information: <https://github.com/lincolnloop/python-qrcode/>.
|
||||||
|
|
||||||
|
- Generate a QR code:
|
||||||
|
|
||||||
|
`echo "{{data}}" | qr`
|
||||||
|
|
||||||
|
- Specify the error correction level (defaults to M):
|
||||||
|
|
||||||
|
`echo "{{data}}" | qr --error-correction={{L|M|Q|H}}`
|
Loading…
Add table
Reference in a new issue