system/scripts/him.sh

16 lines
281 B
Bash
Raw Normal View History

#!/bin/bash
case $1 in
"" | "list")
bin=~/repos/himalaya/target/release
for acc in $(NO_COLOR=1 $bin/himalaya accounts | grep imap | awk '{ print $1 }')
do
echo "account: $acc"
$bin/himalaya -a "$acc" list
echo "---"
done
;;
esac