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

Function load_shortcut

src/codegraphcontext/cli/main.py:920–926  ·  view source on GitHub ↗

Shortcut for 'cgc bundle load

(
    bundle_name: str = typer.Argument(..., help="Bundle name or path to load"),
    clear: bool = typer.Option(False, "--clear", help="Clear existing graph data before loading"),
    yes: bool = typer.Option(False, "--yes", "-y", help="Skip confirmation when using --clear"),
)

Source from the content-addressed store, hash-verified

918
919@app.command("load", rich_help_panel="Bundle Shortcuts")
920def load_shortcut(
921 bundle_name: str = typer.Argument(..., help="Bundle name or path to load"),
922 clear: bool = typer.Option(False, "--clear", help="Clear existing graph data before loading"),
923 yes: bool = typer.Option(False, "--yes", "-y", help="Skip confirmation when using --clear"),
924):
925 """Shortcut for 'cgc bundle load'"""
926 bundle_load(bundle_name, clear, yes=yes)
927
928# ============================================================================
929# REGISTRY COMMAND GROUP - Browse and Download Bundles

Callers

nothing calls this directly

Calls 1

bundle_loadFunction · 0.85

Tested by

no test coverage detected