Skip to content

Add quiet mode to scan output#8

Open
rzigante wants to merge 1 commit into
Carlos-Projects:mainfrom
rzigante:add-scan-quiet
Open

Add quiet mode to scan output#8
rzigante wants to merge 1 commit into
Carlos-Projects:mainfrom
rzigante:add-scan-quiet

Conversation

@rzigante
Copy link
Copy Markdown

@rzigante rzigante commented Jun 1, 2026

Summary

  • add --quiet / -q to raguard scan
  • suppress rich banners, summaries, save messages, CI pass messages, and API-key warnings in quiet mode
  • keep findings and error output visible
  • document quiet mode in README and usage docs

Closes #6

Verification

  • .venv312/bin/python -m pytest tests/test_reporters.py tests/test_cli_extended.py -q
  • .venv312/bin/python -m pytest tests/ -q
  • .venv312/bin/python -m ruff check src/raguard/cli.py src/raguard/reporters/console.py tests/test_reporters.py tests/test_cli_extended.py tests/test_cli_extra.py
  • .venv312/bin/python -m py_compile src/raguard/cli.py src/raguard/reporters/console.py tests/test_reporters.py tests/test_cli_extended.py tests/test_cli_extra.py
  • .venv312/bin/python -m raguard.cli scan http://localhost:8000 --quiet --api-key test-key
  • .venv312/bin/python -m raguard.cli scan --help

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.

[good first issue] Add --quiet flag for silent operation

1 participant