From b0b4c29e7b94fd8f74e9a3774766ae58efbda63d Mon Sep 17 00:00:00 2001 From: scito Date: Sat, 24 Dec 2022 15:50:44 +0100 Subject: [PATCH] improve README --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eaa54c8..ffea8a8 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,14 @@ The zbar DLLs are included with the Windows Python wheels. On other operating sy python extract_otp_secret_keys.py --csv - example_export.txt +### Printing otp secrets csv to stdout without header line + + python extract_otp_secret_keys.py --csv - example_*.png | tail -n+2 + +### Reading from stdin and printing to stdout + + cat example_*.txt | python extract_otp_secret_keys.py --csv - - | tail -n+2 + ## Features * Free and open source @@ -133,13 +141,13 @@ The zbar DLLs are included with the Windows Python wheels. On other operating sy * Supports TOTP and HOTP * Generates QR codes * Reads QR Code images -* Various export formats: +* Exports to various formats: * CSV * JSON * Dedicated CSV for KeePass * QR code images -* Supports reading from stdin and writing to stdout by specifying '-' -* Various import image formats: (See [OpenCV docu](https://docs.opencv.org/3.4/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56)) +* Supports reading from stdin and writing to stdout +* Reads from various import image formats containing export QR codes: (See [OpenCV docu](https://docs.opencv.org/3.4/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56)) * Portable Network Graphics - *.png * WebP - *.webp * JPEG files - *.jpeg, *.jpg, *.jpe