17 lines
298 B
Bash
Executable File
17 lines
298 B
Bash
Executable File
#!/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
|