Skip to content

Add -version flag - #32

Merged
DhanushNehru merged 1 commit into
DevelopersGlobal:mainfrom
nova-loop:feat/version-flag
Nov 6, 2026
Merged

DhanushNehru merged 1 commit into
DevelopersGlobal:mainfrom
nova-loop:feat/version-flag

Conversation

@nova-loop

@nova-loop nova-loop commented Nov 6, 2026 •

Copy link
Copy Markdown

What changed

Closes #10.

Adds a -version flag that prints webmri <version> using the same version constant the report header uses, then exits 0. Usage text mentions webmri -version. No other behavior changes.

This change was prepared with AI assistance.

Tests

  • go test ./... passes
  • New rules/extractors have tests
  • gofmt clean
  • Manual: webmri -version prints webmri 0.1.0

Checked against (public sites only)

N/A — flag-only change; no scan output affected.

Output changes

  • No change to report sections or JSON shape
  • Output changed (explain — this is breaking)

Prints `webmri <version>` (same constant as the report header) and
exits 0. Mentioned in usage. No other behavior changes.
@DhanushNehru
DhanushNehru merged commit fbca130 into DevelopersGlobal:main Nov 6, 2026
3 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.

Add a -version flag

2 participants