langchain/chains/llm_bash/prompt.py/BashOutputParser/parse
class BashOutputParser:    def parse(self, text: str) -> List[str]:
        if "```bash" in text:
            return self.get_code_blocks(text)
        else:
            raise OutputParserException(
                f"Failed to parse bash output. Got: {text}",
            )