Skip to content

Add multi-path sniff for sequential multi-file audits - #5

Merged
TimoKuronen merged 1 commit into
mainfrom
feature/u1-multipath-sniff
Sep 21, 2026
Merged

TimoKuronen merged 1 commit into
mainfrom
feature/u1-multipath-sniff

Conversation

@TimoKuronen

Copy link
Copy Markdown
Owner

Summary

  • Allow sniff a.cs b.cs ... in one process with rules loaded once and sequential audits
  • Print an aggregate pass/fail summary and report paths; exit 0 only when all files pass
  • Update scripts/sniff.ps1, README, and architecture for multi-path usage

Test plan

  • dotnet test CodeSmellAuditor.Core.Tests
  • dotnet run --project CodeSmellAuditor.Cli -- sniff path\A.cs path\B.cs audits both and prints one summary
  • scripts/sniff.ps1 with multiple path arguments forwards all targets
  • Single-path sniff still works; missing path still exits 1

- Accept one or more .cs paths in sniff CLI and load rules once
- Print aggregate pass/fail summary; update sniff.ps1 and public docs
@TimoKuronen
TimoKuronen merged commit 5c12cca into main Sep 21, 2026
1 check passed
@TimoKuronen
TimoKuronen deleted the feature/u1-multipath-sniff branch September 21, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant