Skip to content

feat: add CLI output controls#2

Merged
APonder-Dev merged 1 commit into
mainfrom
feature/cli-output-controls
May 21, 2026
Merged

feat: add CLI output controls#2
APonder-Dev merged 1 commit into
mainfrom
feature/cli-output-controls

Conversation

@APonder-Dev

Copy link
Copy Markdown
Owner

Summary

This pull request introduces configurable CLI controls and operational workflow improvements for SentinelAudit v0.2.0.

SentinelAudit now supports user-controlled report generation workflows, custom output handling, and improved execution flexibility through a dedicated command-line interface layer.

Major Changes

Added CLI Module

  • Added sentinel_audit/cli.py
  • Added centralized argument parsing
  • Improved execution workflow organization

Added CLI Features

  • Added --format support
  • Added --output support
  • Added --version support
  • Added configurable report generation workflows

Reporting Improvements

  • Added JSON-only report generation
  • Added Markdown-only report generation
  • Added simultaneous multi-format report generation
  • Added custom output path handling

Testing Improvements

  • Added CLI parser unit tests
  • Expanded automated validation coverage
  • Verified GitHub Actions compatibility

Validation Performed

  • Ruff linting passed
  • Pytest validation passed
  • CLI execution verified
  • Windows execution validated
  • Fedora Linux execution validated

Example CLI Usage

python -m sentinel_audit.main --format json
python -m sentinel_audit.main --format markdown
python -m sentinel_audit.main --format both
python -m sentinel_audit.main --output reports/custom-audit
python -m sentinel_audit.main --version

Architectural Impact

This update transitions SentinelAudit from a fixed execution workflow into a configurable operational security utility with flexible report handling and improved automation readiness.

@APonder-Dev APonder-Dev added the enhancement New feature or request label May 21, 2026
@APonder-Dev APonder-Dev merged commit fe4990a into main May 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant