Fetch, flag/mark, delete/expire, and perform other batch operations on messages residing on IMAP servers.
#!/bin/sh -e
sed -n "0,/# Usage/ p" README.md > README.new
echo >> README.new
python3 -m hoardy_mail.__main__ --help --markdown | sed '
s/^\(#\+\) /#\1 /
s/^\(#\+\) \(hoardy-mail[^[({]*\) [[({].*/\1 \2/
' >> README.new
mv README.new README.md
pandoc -s -V pagetitle=README -f markdown -t html README.md > README.html