()
| 48 | * parseCommand/parseCommandRaw for the parser to be available. Idempotent. |
| 49 | */ |
| 50 | export async function ensureInitialized(): Promise<void> { |
| 51 | if (feature('TREE_SITTER_BASH') || feature('TREE_SITTER_BASH_SHADOW')) { |
| 52 | await ensureParserInitialized() |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | export async function parseCommand( |
| 57 | command: string, |
nothing calls this directly
no test coverage detected