Shortcut for 'cgc delete
(
path: Optional[str] = typer.Argument(None, help="Path to delete"),
all_repos: bool = typer.Option(False, "--all", help="Delete all indexed repositories"),
context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
)
| 2881 | |
| 2882 | @app.command("rm", rich_help_panel="Shortcuts") |
| 2883 | def delete_abbrev( |
| 2884 | path: Optional[str] = typer.Argument(None, help="Path to delete"), |
| 2885 | all_repos: bool = typer.Option(False, "--all", help="Delete all indexed repositories"), |
| 2886 | context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use") |
| 2887 | ): |
| 2888 | """Shortcut for 'cgc delete'""" |
| 2889 | delete(path, all_repos, context=context) |
| 2890 | |
| 2891 | @app.command("v", rich_help_panel="Shortcuts") |
| 2892 | def visualize_abbrev( |