mutt/offlineimaplinux.py @ 8fb840bc2fd3

Version the fucking neovim file
author Steve Losh <steve@stevelosh.com>
date Fri, 31 Aug 2018 17:55:10 +0000
parents 5e93682ea728
children 25d490edffa6
#!/usr/bin/env python3

import subprocess

def get_keychain_pass(account=None, command='pass'):
    print("\nBOOP\n")
    full_command = "%s '%s'" % (command, account)
    output = subprocess.check_output(full_command, shell=True, stderr=subprocess.STDOUT)
    return output.splitlines()[0]