Files
tldr/pages.zh/common/qr.md

12 lines
277 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# qr
> 在终端中使用 ANSI VT-100 转义码生成 QR 码。
> 更多信息:<https://github.com/lincolnloop/python-qrcode/>.
- 生成 QR 码:
`echo "{{data}}" | qr`
- 指定错误纠正级别(默认为 M
`echo "{{data}}" | qr --error-correction={{L|M|Q|H}}`