Functions
check_commandfor_targets
2
tuple[list[ContractIssue…
▼
Validate commandfor attribute values reference existing element IDs.
Returns `…
check_commandfor_targets
2
tuple[list[ContractIssue…
▼
def check_commandfor_targets(template_sources: dict[str, str], all_ids: set[str]) -> tuple[list[ContractIssue], int]
Validate commandfor attribute values reference existing element IDs.
Returns(issues, validated_count) like check_hx_target_selectors.
Parameters
| Name | Type | Description |
|---|---|---|
template_sources |
dict[str, str] |
|
all_ids |
set[str] |
Returns
tuple[list[ContractIssue], int]
check_command_values
1
list[ContractIssue]
▼
Validate command attribute values are recognized built-in or valid custom comma…
check_command_values
1
list[ContractIssue]
▼
def check_command_values(template_sources: dict[str, str]) -> list[ContractIssue]
Validate command attribute values are recognized built-in or valid custom commands.
Custom commands must use the--prefix convention (e.g., --my-action).
Parameters
| Name | Type | Description |
|---|---|---|
template_sources |
dict[str, str] |
Returns
list[ContractIssue]