feat(scripts): add him.sh to list emails from all accs
This commit is contained in:
parent
bd191aa942
commit
b10039d9b4
1 changed files with 15 additions and 0 deletions
15
scripts/him.sh
Executable file
15
scripts/him.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue