Save spec to markdown file.
(self, output_path: Union[str, Path])
| 314 | return '\n'.join(lines) |
| 315 | |
| 316 | def save(self, output_path: Union[str, Path]): |
| 317 | """Save spec to markdown file.""" |
| 318 | output_path = Path(output_path) |
| 319 | output_path.parent.mkdir(parents=True, exist_ok=True) |
| 320 | with open(output_path, 'w', encoding='utf-8') as f: |
| 321 | f.write(self.to_markdown()) |
| 322 | logger.info(f'Execution spec saved to: {output_path}') |
| 323 | |
| 324 | |
| 325 | class SkillContainer: |
no test coverage detected