MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / index_abbrev

Function index_abbrev

src/codegraphcontext/cli/main.py:2384–2390  ·  view source on GitHub ↗

Shortcut for 'cgc index

(
    path: Optional[str] = typer.Argument(None, help="Path to index"),
    force: bool = typer.Option(False, "--force", "-f", help="Force re-index (delete existing and rebuild)"),
    context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
)

Source from the content-addressed store, hash-verified

2382
2383@app.command("i", rich_help_panel="Shortcuts")
2384def index_abbrev(
2385 path: Optional[str] = typer.Argument(None, help="Path to index"),
2386 force: bool = typer.Option(False, "--force", "-f", help="Force re-index (delete existing and rebuild)"),
2387 context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
2388):
2389 """Shortcut for 'cgc index'"""
2390 index(path, force=force, context=context)
2391
2392@app.command("ls", rich_help_panel="Shortcuts")
2393def list_abbrev(

Callers

nothing calls this directly

Calls 1

indexFunction · 0.85

Tested by

no test coverage detected