f
This commit is contained in:
@@ -2853,6 +2853,28 @@ class PipelineExecutor:
|
||||
# RUN THE CMDLET
|
||||
cmd_fn(piped_result, stage_args, config)
|
||||
|
||||
# Pipeline overlay tables (e.g., get-url detail views) need to be
|
||||
# rendered when running inside a pipeline because the CLI path
|
||||
# normally handles rendering. The overlay is only useful when
|
||||
# we're at the terminal stage of the pipeline.
|
||||
if stage_index + 1 >= len(stages):
|
||||
display_table = None
|
||||
try:
|
||||
display_table = (
|
||||
ctx.get_display_table()
|
||||
if hasattr(ctx, "get_display_table") else None
|
||||
)
|
||||
except Exception:
|
||||
display_table = None
|
||||
if display_table is not None:
|
||||
try:
|
||||
from SYS.rich_display import stdout_console
|
||||
|
||||
stdout_console().print()
|
||||
stdout_console().print(display_table)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# Update piped_result for next stage from emitted items
|
||||
stage_emits = list(stage_ctx.emits)
|
||||
if stage_emits:
|
||||
|
||||
Reference in New Issue
Block a user