new-guix-dotfiles/home/offlineimap-pass.py

5 lines
153 B
Python
Executable file

#!/usr/bin/env python
from subprocess import check_output
def get_pass(account):
return check_output("pass " + account, shell=True).splitlines()[0]