def balance(ctx, accounts):
    """ Show Account balances
    """
    t = PrettyTable(["Account", "Amount"])
    t.align = "r"
    for a in accounts:
        account = Account(a, peerplays_instance=ctx.peerplays)
        for b in account.balances:
            t.add_row([str(a), str(b)])
    click.echo(str(t))
def balance ( ctx , accounts ) : t = PrettyTable ( [ "Account" , "Amount" ] ) t . align = "r" for a in accounts : account = Account ( a , peerplays_instance = ctx . peerplays ) for b in account . balances : t . add_row ( [ str ( a ) , str ( b ) ] ) click . echo ( str ( t ) )
Show Account balances