Skip to content

Commit 345af00

Browse files
committed
Fix
1 parent bb0f7fa commit 345af00

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/flux/cli.py

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import typer
99
from rich import print
10+
from rich.console import Console
1011
from rich.prompt import Confirm, Prompt
1112
from rich.table import Table
1213
from typing_extensions import Annotated
@@ -187,6 +188,9 @@ async def _print_apply_report(runner: FluxRunner, n: int | None):
187188
)
188189
table.add_row(migration.id, status)
189190

191+
console = Console()
192+
console.print(table)
193+
190194

191195
async def _print_rollback_report(runner: FluxRunner, n: int | None):
192196
table = Table("Rollback Migrations")
@@ -206,6 +210,9 @@ async def _print_rollback_report(runner: FluxRunner, n: int | None):
206210
for migration in runner.list_unapplied_migrations():
207211
table.add_row(migration.id, NOT_APPLIED_STATUS)
208212

213+
console = Console()
214+
console.print(table)
215+
209216

210217
async def _apply(
211218
ctx: typer.Context,

0 commit comments

Comments
 (0)