Coverage for src / repo_sync_kitty / commands / status.py: 85%

11 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-23 09:31 -0500

1"""Status command: show repository sync status.""" 

2 

3from pathlib import Path 

4from typing import Annotated 

5 

6import typer 

7from rich.console import Console 

8 

9console = Console() 

10 

11 

12def status( 

13 manifest: Annotated[ 

14 Path | None, 

15 typer.Option("--manifest", "-m", help="Path to manifest.toml file"), 

16 ] = None, 

17 verbose: Annotated[ 

18 bool, 

19 typer.Option("--verbose", "-v", help="Show all repos, not just issues"), 

20 ] = False, 

21 show_deleted: Annotated[ 

22 bool, 

23 typer.Option("--show-deleted", help="Include deleted repos in output"), 

24 ] = False, 

25) -> None: 

26 """Show repository sync status.""" 

27 console.print("[yellow]status command not yet implemented[/yellow]") 

28 if manifest: 28 ↛ 29line 28 didn't jump to line 29 because the condition on line 28 was never true

29 console.print(f" manifest: {manifest}") 

30 console.print(f" verbose: {verbose}") 

31 console.print(f" show_deleted: {show_deleted}")