(template: string)
| 10 | } |
| 11 | |
| 12 | export function shell(template: string) { |
| 13 | return Array.from(template.matchAll(SHELL_REGEX)) |
| 14 | } |
| 15 | |
| 16 | // other coding agents like claude code allow invalid yaml in their |
| 17 | // frontmatter, we need to fallback to a more permissive parser for those cases |
no test coverage detected