Shortcut for 'cgc bundle load
(
bundle_name: str = typer.Argument(..., help="Bundle name or path to load"),
clear: bool = typer.Option(False, "--clear", help="Clear existing graph data before loading"),
yes: bool = typer.Option(False, "--yes", "-y", help="Skip confirmation when using --clear"),
context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
)
| 1015 | |
| 1016 | @app.command("load", rich_help_panel="Bundle Shortcuts") |
| 1017 | def load_shortcut( |
| 1018 | bundle_name: str = typer.Argument(..., help="Bundle name or path to load"), |
| 1019 | clear: bool = typer.Option(False, "--clear", help="Clear existing graph data before loading"), |
| 1020 | yes: bool = typer.Option(False, "--yes", "-y", help="Skip confirmation when using --clear"), |
| 1021 | context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"), |
| 1022 | ): |
| 1023 | """Shortcut for 'cgc bundle load'""" |
| 1024 | # Must pass `context` explicitly: invoked as a plain function, Typer does not |
| 1025 | # resolve defaults, so an omitted parameter keeps its OptionInfo sentinel. |
| 1026 | bundle_load(bundle_name, clear, yes=yes, context=context) |
| 1027 | |
| 1028 | # ============================================================================ |
| 1029 | # REGISTRY COMMAND GROUP - Browse and Download Bundles |
nothing calls this directly
no test coverage detected