scan with local directory runs graph and prints report.
(tmp_path: Path)
| 37 | |
| 38 | |
| 39 | def test_cli_scan_local_directory(tmp_path: Path) -> None: |
| 40 | """scan with local directory runs graph and prints report.""" |
| 41 | (tmp_path / "SKILL.md").write_text("---\nname: scan-test\n---\n# Safe", encoding="utf-8") |
| 42 | result = runner.invoke(app, ["scan", str(tmp_path), "--format", "json", "--no-llm"]) |
| 43 | assert result.exit_code == 0 |
| 44 | assert "scan-test" in result.output or "skill" in result.output |
| 45 | |
| 46 | |
| 47 | def test_cli_scan_output_to_file(tmp_path: Path) -> None: |