Unverified Commit 01914061 authored by Jakob Görgen's avatar Jakob Görgen
Browse files

symphony/cli: added generic function to print tables to cli

parent 7d4fb123
......@@ -41,8 +41,8 @@ def async_cli():
return decorator_async_cli
def print_table_generic(to_print, *args):
table = Table()
def print_table_generic(title: str, to_print, *args):
table = Table(title=title)
for key in args:
table.add_column(key)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment