Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
01914061
Unverified
Commit
01914061
authored
Jan 08, 2025
by
Jakob Görgen
Browse files
symphony/cli: added generic function to print tables to cli
parent
7d4fb123
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
symphony/cli/simbricks/cli/utils.py
symphony/cli/simbricks/cli/utils.py
+2
-2
No files found.
symphony/cli/simbricks/cli/utils.py
View file @
01914061
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment