Shortcut for 'cgc index
(
path: Optional[str] = typer.Argument(None, help="Path to index"),
force: bool = typer.Option(False, "--force", "-f", help="Force re-index (delete existing and rebuild)"),
context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
)
| 2382 | |
| 2383 | @app.command("i", rich_help_panel="Shortcuts") |
| 2384 | def index_abbrev( |
| 2385 | path: Optional[str] = typer.Argument(None, help="Path to index"), |
| 2386 | force: bool = typer.Option(False, "--force", "-f", help="Force re-index (delete existing and rebuild)"), |
| 2387 | context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use") |
| 2388 | ): |
| 2389 | """Shortcut for 'cgc index'""" |
| 2390 | index(path, force=force, context=context) |
| 2391 | |
| 2392 | @app.command("ls", rich_help_panel="Shortcuts") |
| 2393 | def list_abbrev( |