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

Function export_shortcut

src/codegraphcontext/cli/main.py:1007–1014  ·  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

1005# Shortcut commands at root level
1006@app.command("export", rich_help_panel="Bundle Shortcuts")
1007def export_shortcut(
1008 output: str = typer.Argument(..., help="Output path for the .cgc bundle file"),
1009 repo: Optional[str] = typer.Option(None, "--repo", "-r", help="Specific repository path to export"),
1010 no_stats: bool = typer.Option(False, "--no-stats", help="Skip generating statistics in the bundle"),
1011 context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
1012):
1013 """Shortcut for 'cgc bundle export'"""
1014 bundle_export(output, repo, no_stats, context)
1015
1016@app.command("load", rich_help_panel="Bundle Shortcuts")
1017def load_shortcut(

Callers

nothing calls this directly

Calls 1

bundle_exportFunction · 0.85

Tested by

no test coverage detected