From 364ff7390d6755a82ae530ae16f32d802d0a734c Mon Sep 17 00:00:00 2001 From: Konboi Date: Tue, 9 Sep 2025 14:21:17 +0900 Subject: [PATCH] [chore] to display with pager --- launchable/commands/compare/subsets.py | 2 +- launchable/commands/inspect/subset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launchable/commands/compare/subsets.py b/launchable/commands/compare/subsets.py index d55047256..c6162f4e0 100644 --- a/launchable/commands/compare/subsets.py +++ b/launchable/commands/compare/subsets.py @@ -47,4 +47,4 @@ def subsets(file_before, file_after): (before, after, f"{diff:+}" if isinstance(diff, int) else diff, test) for before, after, diff, test in rows ] - click.echo(tabulate(tabular_data, headers=headers, tablefmt="github")) + click.echo_via_pager(tabulate(tabular_data, headers=headers, tablefmt="github")) diff --git a/launchable/commands/inspect/subset.py b/launchable/commands/inspect/subset.py index a13e98505..5ff0baeb1 100644 --- a/launchable/commands/inspect/subset.py +++ b/launchable/commands/inspect/subset.py @@ -65,7 +65,7 @@ def display(self): result._estimated_duration_sec, ] ) - click.echo(tabulate(rows, header, tablefmt="github", floatfmt=".2f")) + click.echo_via_pager(tabulate(rows, header, tablefmt="github", floatfmt=".2f")) class SubsetResultJSONDisplay(SubsetResultAbstractDisplay):