mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 13:42:32 +00:00
18 lines
392 B
Plaintext
18 lines
392 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|