15 lines
281 B
Bash
Executable file
15 lines
281 B
Bash
Executable file
#!/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
|
|
|
|
|