MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / status

Function status

src/cocoindex_code/cli.py:737–750  ·  view source on GitHub ↗

Show project status.

()

Source from the content-addressed store, hash-verified

735@app.command()
736@_catch_daemon_start_error
737def 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()

Callers

nothing calls this directly

Calls 6

require_project_rootFunction · 0.85
print_project_headerFunction · 0.85
format_path_for_displayFunction · 0.85
project_settings_pathFunction · 0.85
target_sqlite_db_pathFunction · 0.85
print_index_statsFunction · 0.85

Tested by

no test coverage detected