MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / delete_abbrev

Function delete_abbrev

src/codegraphcontext/cli/main.py:2883–2889  ·  view source on GitHub ↗

Shortcut for 'cgc delete

(
    path: Optional[str] = typer.Argument(None, help="Path to delete"),
    all_repos: bool = typer.Option(False, "--all", help="Delete all indexed repositories"),
    context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
)

Source from the content-addressed store, hash-verified

2881
2882@app.command("rm", rich_help_panel="Shortcuts")
2883def delete_abbrev(
2884 path: Optional[str] = typer.Argument(None, help="Path to delete"),
2885 all_repos: bool = typer.Option(False, "--all", help="Delete all indexed repositories"),
2886 context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
2887):
2888 """Shortcut for 'cgc delete'"""
2889 delete(path, all_repos, context=context)
2890
2891@app.command("v", rich_help_panel="Shortcuts")
2892def visualize_abbrev(

Callers

nothing calls this directly

Calls 1

deleteFunction · 0.85

Tested by

no test coverage detected