mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 18:53:04 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,20 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# qrencode
|
||||
|
||||
> QR Code generator. Supports PNG and EPS.
|
||||
> More information: <https://fukuchi.org/works/qrencode>.
|
||||
> More information: <https://manned.org/qrencode>.
|
||||
|
||||
- Convert a string to a QR code and save to an output file:
|
||||
|
||||
`qrencode -o {{path/to/output_file.png}} {{string}}`
|
||||
`qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{string}}`
|
||||
|
||||
- Convert an input file to a QR code and save to an output file:
|
||||
|
||||
`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}`
|
||||
`qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{[-r|--read-from]}} {{path/to/input_file}}`
|
||||
|
||||
- Convert a string to a QR code and print it in terminal:
|
||||
|
||||
`qrencode -t ansiutf8 {{string}}`
|
||||
`qrencode {{[-t|--type]}} ansiutf8 {{string}}`
|
||||
|
||||
- Convert input from pipe to a QR code and print it in terminal:
|
||||
|
||||
`echo {{string}} | qrencode -t ansiutf8`
|
||||
`echo {{string}} | qrencode {{[-t|--type]}} ansiutf8`
|
||||
|
||||
Reference in New Issue
Block a user