def print_table ( * args , * * kwargs ) : t = format_table ( * args , * * kwargs ) click . echo ( t )
make tabel in python left justify
if csv : import csv t = csv . writer ( sys . stdout delimiter = ; ) t . writerow ( header ) else : t = PrettyTable ( header ) t . align = r t . align [ details ] = l
def print_table(*args, **kwargs):
    """
    if csv:
        import csv
        t = csv.writer(sys.stdout, delimiter=";")
        t.writerow(header)
    else:
        t = PrettyTable(header)
        t.align = "r"
        t.align["details"] = "l"
    """
    t = format_table(*args, **kwargs)
    click.echo(t)