17 lines
298 B
Bash
17 lines
298 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
function verbose {
|
||
|
echo + "$@"
|
||
|
"$@"
|
||
|
}
|
||
|
|
||
|
for style in pvv/styles/*.xml; do
|
||
|
verbose ./api.py set-style $(basename "$style" | cut -d. -f1) "$style"
|
||
|
done
|
||
|
|
||
|
exit
|
||
|
|
||
|
for card in pvv/cards/*.xml; do
|
||
|
verbose ./api.py set-card $(basename "$card" | cut -d. -f1) "$card"
|
||
|
done
|