Have a look at HazCod's "enpass-cli" project...
One of the changes I have added would allow you to dump the database in a friendly-ish format (with passwords included if you use the `--please_show_me_the_passwords` argument).
pass list -a --please_show_me_the_passwords \*
Will show you all of the entries in your wallet, with shown passwords.
usage: pass [-h] [-q] [-w WALLET] [-a] [--please_show_me_the_passwords] {get,list,copy,print} name
positional arguments:
{get,list,copy,print} Show entry, copy or print password
name The entry name, use '*' to see all
optional arguments:
-h, --help show this help message and exit
-q, --quiet Supress Standard Output Notifications
-w WALLET, --wallet WALLET The Enpass wallet file
-a, --alldata Displays all of the known data in of each card
--please_show_me_the_passwords Display passwords where present
It also, not quite coincidentally, works extremely well as a "sudolikeaboss" replacement...