updated parserhuge refactor of plugin system
This commit is contained in:
@@ -165,6 +165,11 @@ def _render_table(table: Any) -> int:
|
||||
log("No active result table", file=sys.stderr)
|
||||
return 1
|
||||
|
||||
try:
|
||||
setattr(table, "_rendered_by_cmdlet", True)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
try:
|
||||
if hasattr(table, "to_rich"):
|
||||
stdout_console().print(table.to_rich())
|
||||
|
||||
Reference in New Issue
Block a user