(args:List[str], title:str)
| 9 | return Panel(f"{response}", title=panel_title, border_style="green") |
| 10 | |
| 11 | def make_args_table(args:List[str], title:str) -> Table: |
| 12 | table = Table(title=title) |
| 13 | table.add_column("Argument") |
| 14 | table.add_column("Value") |
| 15 | for index, arg in enumerate(args): |
| 16 | if isinstance(arg, str): |
| 17 | table.add_row(f"arg\[{index}]", arg) |
| 18 | elif isinstance(arg, list): |
| 19 | table.add_row(f"arg\[{index}]", "\[" + ", ".join(arg) + "]") |
| 20 | else: |
| 21 | breakpoint() |
| 22 | return table |
nothing calls this directly
no outgoing calls
no test coverage detected