Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
version = require("plaid2qif")[0].version
args = docopt(__doc__, version=version)
util.configure_logging(args['--verbose'])
debug(args)
if args['save-access-token']:
save_access_token(args['--institution'], args['--public-token'], args['--credentials'])
if args['list-accounts']:
list_accounts(args['--institution'], args['--credentials'])
if args['download']:
account = {
'institution': args['--institution'],
'id' : args['--account-id'],
'name': args['--account'],
'type': args['--account-type'],
}
fromto = {