[Deprecated] Use 'cgc query' instead.
(
query: str = typer.Argument(..., help="The read-only Cypher query to execute."),
context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
)
| 3039 | # Keep old 'cypher' as alias for backward compatibility |
| 3040 | @app.command("cypher", hidden=True) |
| 3041 | def cypher_legacy( |
| 3042 | query: str = typer.Argument(..., help="The read-only Cypher query to execute."), |
| 3043 | context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"), |
| 3044 | ): |
| 3045 | """[Deprecated] Use 'cgc query' instead.""" |
| 3046 | console.print("[yellow]⚠️ 'cgc cypher' is deprecated. Use 'cgc query' instead.[/yellow]") |
| 3047 | cypher_helper(query, context) |
| 3048 | |
| 3049 | |
| 3050 |
nothing calls this directly
no test coverage detected