scale-catalog/functions/misc.sh
Kjeld Schouten-Lebbing 4731b93a14 Fixed mistakes
2022-12-27 13:34:42 +01:00

17 lines
281 B
Bash
Executable File

#!/bin/bash
sync(){
echo_sync+=("🅂 🅈 🄽 🄲")
cli -c 'app catalog sync_all' &> /dev/null && echo_sync+=("Catalog sync complete")
#Dump the echo_array, ensures all output is in a neat order.
for i in "${echo_sync[@]}"
do
echo -e "$i"
done
echo
echo
}
export -f sync