Show project status.
()
| 735 | @app.command() |
| 736 | @_catch_daemon_start_error |
| 737 | def status() -> None: |
| 738 | """Show project status.""" |
| 739 | from . import client as _client |
| 740 | |
| 741 | project_root_path = require_project_root() |
| 742 | project_root = str(project_root_path) |
| 743 | print_project_header(project_root) |
| 744 | |
| 745 | _typer.echo(f"Settings: {format_path_for_display(project_settings_path(project_root_path))}") |
| 746 | db_path = target_sqlite_db_path(project_root_path) |
| 747 | if db_path.exists(): |
| 748 | _typer.echo(f"Index DB: {format_path_for_display(db_path)}") |
| 749 | |
| 750 | print_index_stats(_client.project_status(project_root)) |
| 751 | |
| 752 | |
| 753 | @app.command() |
nothing calls this directly
no test coverage detected