16 lines
281 B
Bash
16 lines
281 B
Bash
|
#!/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
|
||
|
|
||
|
|