Skip to content

feat: CLI with check/rules commands, formatters, integration tests#3

Merged
hermanngeorge15 merged 3 commits into
mainfrom
feat/cli-formatters
Apr 1, 2026
Merged

feat: CLI with check/rules commands, formatters, integration tests#3
hermanngeorge15 merged 3 commits into
mainfrom
feat/cli-formatters

Conversation

@hermanngeorge15
Copy link
Copy Markdown
Contributor

Summary

  • Text and JSON output formatters with unit tests
  • Full CLI with check and rules commands (commander)
  • Integration tests using execa (exit codes, JSON output, quiet mode)
  • README with full usage section, rules table, and exit code docs

Exit codes

  • 0: all checks passed
  • 1: errors found
  • 2: warnings only

Test plan

  • 10 formatter unit tests (text: 6, json: 4)
  • 5 CLI integration tests (valid file, invalid file, JSON output, quiet mode, rules list)
  • Smoke tested check on both valid and invalid fixtures
  • Smoke tested rules command
  • All 70 tests pass

🤖 Generated with Claude Code

hermanngeorge15 and others added 3 commits April 1, 2026 12:22
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hermanngeorge15 hermanngeorge15 merged commit c98997e into main Apr 1, 2026
0 of 6 checks passed
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