vibe.cli.commands¶
CLI command implementations for VIBE.
Contains the actual command logic that gets called by the CLI dispatcher.
ExtensionTemplateSource ¶
Template source directory for an enabled extension.
print_plain ¶
print_plain(color: str, message: str, details: list[str] | None = None) -> None
Print a colored message without status marker.
print_component_validation ¶
print_component_validation(component_data: ComponentTemplateData, indent_level: int = 1, show_details: bool = False) -> None
Recursively print component validation results with proper indentation.
| Parameters: |
|
|---|
suppress_stderr ¶
suppress_stderr() -> Generator[None, None, None]
Temporarily suppress stderr to hide rich tracebacks.
suppress_stdout ¶
suppress_stdout() -> Generator[None, None, None]
Temporarily suppress stdout to hide logs.
suppress_noisy_logs ¶
suppress_noisy_logs() -> None
Suppress debug/info logs from noisy modules during validation.
create_template_command ¶
create_template_command(template_name: str) -> None
Create a new template skeleton and register it in the global config.yml.
Actions:
1) Create directory under templates/
scaffold_ui_command ¶
scaffold_ui_command(template_id: str | None, targets: list[str], *, force: bool = False, list_only: bool = False) -> None
Scaffold selected UI override files for an existing template.
When targets are provided, copy only those files into the template's override directory. When no targets are given, list available artifacts with short descriptions.
validate_templates_command ¶
validate_templates_command(template_id: str | None = None, details: bool = False, verbose: bool = False) -> None
Validate template definitions and configuration.
| Parameters: |
|
|---|
validate_components_command ¶
validate_components_command(component_id: str | None = None, template_id: str | None = None, details: bool = False, verbose: bool = False) -> None
Validate component definitions and configuration.
| Parameters: |
|
|---|
inspect_state_command ¶
inspect_state_command(filepath: str, no_verify: bool = False) -> None
Inspect a .vibestate file.
| Parameters: |
|
|---|
run_server_command ¶
vector_store_command ¶
vector_store_command(subcommand: str, template_id: str | None = None, verbose: bool = False) -> None
Manage vector stores for reference documents.
| Parameters: |
|
|---|
eval_command ¶
eval_command(template_id: str | None = None, state_path: str | None = None, overrides: list[str] | None = None, locale: str | None = None) -> None
Interactive Jinja/template expression evaluator (REPL).
| Parameters: |
|
|---|