17 lines
281 B
Bash
Executable File
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
|