Summary
Add a summary line at the end of every scan output showing "X servers passed, Y failed, Z warnings" for quick scanning of results.
Files to modify
src/reporters/terminal.ts
What to change
- After all per-server results are printed, add a divider line and a summary block.
- Count servers by their worst result: all checks passed → "passed", any FAIL → "failed", only WARN → "warnings".
- Print the summary like:
─────────────────────────────
3 servers scanned: 1 passed, 1 failed, 1 warnings
- Color-code the numbers: green for passed, red for failed, yellow for warnings.
- If
--json output is active, include the counts in the JSON payload instead.
Expected behavior
Running any scan command prints a clear one-line summary at the very end of output.
Estimated time
~15 minutes
Summary
Add a summary line at the end of every scan output showing "X servers passed, Y failed, Z warnings" for quick scanning of results.
Files to modify
src/reporters/terminal.tsWhat to change
--jsonoutput is active, include the counts in the JSON payload instead.Expected behavior
Running any scan command prints a clear one-line summary at the very end of output.
Estimated time
~15 minutes