qrencode: add print to terminal examples (#3823)

client-spec/clarity
Florian Ströger 2020-02-05 10:56:36 +01:00 committed by GitHub
parent 7e8b6b3eb8
commit e1355b2e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -10,3 +10,11 @@
- 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}}`
- Convert a string to a QR code and print it in terminal:
`qrencode -t ansiutf8 {{string}}`
- Convert input from pipe to a QR code and print it in terminal:
`echo {{string}} | qrencode -t ansiutf8`