feat(reporter): add --verbose mode to show pack and rule info #13

Closed
opened 2026-05-19 13:22:22 +02:00 by michael · 1 comment
Owner

Idea

Add a --verbose flag to show additional information about the run:

  • which pack was loaded
  • which rules were checked
  • how many files were scanned per rule
  • which primitives were used

Example output with --verbose:

[INFO] Pack: daw-code v1 (5 rules)
[INFO] Rule: no-file-over-250-lines (daw.fragjan.check.linecount)
[INFO] Rule: no-direct-io (daw.fragjan.check.pattern)
[INFO] Rule: no-os-exit (daw.fragjan.check.pattern)
[INFO] Rule: no-lua-hardcode (daw.fragjan.check.pattern)
[INFO] Rule: no-old-namespace (daw.fragjan.check.pattern)
[WARN] yaml.lua: 349 lines -- split required
...
[SUMMARY] 26 file(s) checked, 28 warning(s), 0 error(s)

Affected Files

  • core/reporter.lua -- verbose output
  • core/commands.lua -- --verbose flag parsing
## Idea Add a --verbose flag to show additional information about the run: - which pack was loaded - which rules were checked - how many files were scanned per rule - which primitives were used Example output with --verbose: ``` [INFO] Pack: daw-code v1 (5 rules) [INFO] Rule: no-file-over-250-lines (daw.fragjan.check.linecount) [INFO] Rule: no-direct-io (daw.fragjan.check.pattern) [INFO] Rule: no-os-exit (daw.fragjan.check.pattern) [INFO] Rule: no-lua-hardcode (daw.fragjan.check.pattern) [INFO] Rule: no-old-namespace (daw.fragjan.check.pattern) [WARN] yaml.lua: 349 lines -- split required ... [SUMMARY] 26 file(s) checked, 28 warning(s), 0 error(s) ``` ## Affected Files - core/reporter.lua -- verbose output - core/commands.lua -- --verbose flag parsing
Author
Owner

Implemented: --verbose flag shows loaded packs, rules and scanned files. Works for both fragjan code and fragjan article commands.

Implemented: --verbose flag shows loaded packs, rules and scanned files. Works for both fragjan code and fragjan article commands.
michael 2026-05-27 08:26:55 +02:00
michael added this to the Basic Version milestone 2026-05-30 16:05:10 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#13
No description provided.