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):