mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-13 07:55:25 +02:00

* Update qr.md * Update qr.md * Update pages/common/qr.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
20 lines
417 B
Markdown
20 lines
417 B
Markdown
# qr
|
|
|
|
> Generate QR codes in the terminal with ANSI VT-100 escape codes.
|
|
> More information: <https://manned.org/qr>.
|
|
|
|
- Generate a QR code:
|
|
|
|
`qr "{{data}}"`
|
|
|
|
- Specify the error correction level (defaults to `M`):
|
|
|
|
`qr --error-correction {{L|M|Q|H}} "{{data}}"`
|
|
|
|
- Generate a QR code from the output of another command:
|
|
|
|
`{{command}} | qr`
|
|
|
|
- Save the QR code as a PNG image:
|
|
|
|
`qr "{{data}}" > {{path/to/file.png}}`
|