Generate QR codes in the terminal with ANSI VT-100 escape codes. More information: https://manned.org/qr.
qr "{{data}}"
M
qr --error-correction {{L|M|Q|H}} "{{data}}"
{{command}} | qr
qr "{{data}}" > {{path/to/file.png}}