diff --git a/README.md b/README.md index 1ec25c5..e23109c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ ```bash echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py -jq -r .stammdaten.address_label ../Vorstand/stammdaten-formular/example.json | python address-label.py +MEMBERFILE="../Vorstand/stammdaten-formular/example.json" +jq -r .stammdaten.address_label $MEMBERFILE | python address-label.py ``` ### Print label @@ -15,5 +16,6 @@ Needs to be in the same network as the printer. ```bash echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | address-label.sh -jq -r .stammdaten.address_label ../Vorstand/stammdaten-formular/example.json | address-label.sh +MEMBERFILE="../Vorstand/stammdaten-formular/example.json" +jq -r .stammdaten.address_label $MEMBERFILE | address-label.sh ``` \ No newline at end of file