use variables in usage examples
This commit is contained in:
parent
240307f316
commit
20dea73b12
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
||||||
```bash
|
```bash
|
||||||
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py
|
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
|
### Print label
|
||||||
|
@ -15,5 +16,6 @@ Needs to be in the same network as the printer.
|
||||||
```bash
|
```bash
|
||||||
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | address-label.sh
|
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
|
||||||
```
|
```
|
Loading…
Reference in a new issue