|
12 | 12 | logger = logging.getLogger(__name__) |
13 | 13 |
|
14 | 14 | prompt_app = typer.Typer( |
15 | | - help="Manage prompts for AI assistants (Claude, Codex, Gemini, Copilot, CodeBuddy)", |
| 15 | + help="Manage prompts for AI assistants (Claude, Codex, Gemini, Copilot, CodeBuddy, OpenCode)", |
16 | 16 | no_args_is_help=True, |
17 | 17 | ) |
18 | 18 |
|
@@ -332,7 +332,7 @@ def remove_prompt( |
332 | 332 | @prompt_app.command("import") |
333 | 333 | def import_prompt( |
334 | 334 | name: Optional[str] = typer.Argument(None, help="Name for the imported prompt (auto-generated if not provided)"), |
335 | | - app: str = typer.Option(..., "--app", "-a", help=f"App to import from ({', '.join(VALID_APP_TYPES)})"), |
| 335 | + app: str = typer.Option(..., "--app", "-a", help=f"App to import from ({', '.join(VALID_APP_TYPES)}) - Note: opencode prompt = rules"), |
336 | 336 | level: str = typer.Option("user", "--level", "-l", help="Level: user or project"), |
337 | 337 | project_dir: Optional[Path] = typer.Option(None, "--project-dir", "-d", help="Project directory (for project level)"), |
338 | 338 | description: Optional[str] = typer.Option(None, "--description", help="Description of the prompt"), |
@@ -420,7 +420,7 @@ def import_prompt( |
420 | 420 | @prompt_app.command("install") |
421 | 421 | def install_prompt( |
422 | 422 | name: str = typer.Argument(..., help="Prompt name to install"), |
423 | | - app: str = typer.Option(..., "--app", "-a", help=f"Target app ({', '.join(VALID_APP_TYPES)})"), |
| 423 | + app: str = typer.Option(..., "--app", "-a", help=f"Target app ({', '.join(VALID_APP_TYPES)}) - Note: opencode prompt = rules"), |
424 | 424 | level: str = typer.Option("user", "--level", "-l", help="Level: user or project"), |
425 | 425 | project_dir: Optional[Path] = typer.Option(None, "--project-dir", "-d", help="Project directory (for project level)"), |
426 | 426 | ): |
@@ -459,7 +459,7 @@ def install_prompt( |
459 | 459 |
|
460 | 460 | @prompt_app.command("uninstall") |
461 | 461 | def uninstall_prompt( |
462 | | - app: str = typer.Option(..., "--app", "-a", help=f"Target app ({', '.join(VALID_APP_TYPES)})"), |
| 462 | + app: str = typer.Option(..., "--app", "-a", help=f"Target app ({', '.join(VALID_APP_TYPES)}) - Note: opencode prompt = rules"), |
463 | 463 | level: str = typer.Option("user", "--level", "-l", help="Level: user or project"), |
464 | 464 | project_dir: Optional[Path] = typer.Option(None, "--project-dir", "-d", help="Project directory (for project level)"), |
465 | 465 | force: bool = typer.Option(False, "--force", "-f", help="Skip confirmation"), |
|
0 commit comments