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

Function export_shortcut

src/codegraphcontext/cli/main.py:735–742  ·  view source on GitHub ↗

Shortcut for 'cgc bundle export

(
    output: str = typer.Argument(..., help="Output path for the .cgc bundle file"),
    repo: Optional[str] = typer.Option(None, "--repo", "-r", help="Specific repository path to export"),
    no_stats: bool = typer.Option(False, "--no-stats", help="Skip generating statistics in the bundle"),
    context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
)

Source from the content-addressed store, hash-verified

733# Shortcut commands at root level
734@app.command("export", rich_help_panel="Bundle Shortcuts")
735def export_shortcut(
736 output: str = typer.Argument(..., help="Output path for the .cgc bundle file"),
737 repo: Optional[str] = typer.Option(None, "--repo", "-r", help="Specific repository path to export"),
738 no_stats: bool = typer.Option(False, "--no-stats", help="Skip generating statistics in the bundle"),
739 context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
740):
741 """Shortcut for 'cgc bundle export'"""
742 bundle_export(output, repo, no_stats, context)
743
744@app.command("load", rich_help_panel="Bundle Shortcuts")
745def load_shortcut(

Callers

nothing calls this directly

Calls 1

bundle_exportFunction · 0.85

Tested by

no test coverage detected