-
Notifications
You must be signed in to change notification settings - Fork 0
Add JSON output format for CI integration #2
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Context
zclean outputs human-readable text. For CI pipelines or monitoring, a --json flag that outputs structured data would be useful.
What to do
Add --json flag. Output should include:
{
"found": 5,
"killed": 5,
"processes": [{"pid": 1234, "name": "node", "memory_mb": 512}],
"freed_mb": 2048
}Files to modify
src/reporter.js(add JSON format)- CLI entry point (add flag)
Difficulty: Easy
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed