#! /usr/bin/env python2 from subprocess import check_output def get_pass(account): return check_output("pass cli/" + account, shell=True).rstrip()