From eb8a3719b33624e5cd4421dfcd00d08ced45292e Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 1 Mar 2021 09:57:21 +0200 Subject: Add verify script shortcut --- Pipfile | 3 +++ README.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index 2ff3dea..8f5191a 100644 --- a/Pipfile +++ b/Pipfile @@ -9,3 +9,6 @@ pillow = "*" pyzbar = "*" [dev-packages] + +[scripts] +verify = "python verify.py" diff --git a/README.md b/README.md index bf68784..d265970 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ pipenv sync Save your Green Pass as a `.png` file and execute: ```bash -pipenv run python verify.py -i green_pass_image.png +pipenv run verify -i green_pass_image.png ``` #### Option 2 - from QR code decoded textual content @@ -31,7 +31,7 @@ pipenv run python verify.py -i green_pass_image.png Decode the QR code payload yourself, put it in a txt file and then execute: ```bash -pipenv run python verify.py -t green_pass_payload.txt +pipenv run verify -t green_pass_payload.txt ``` ### Output example -- cgit v1.3.1