Skip to content

Add --dry-run flag to preview without killing #1

@TheStack-ai

Description

@TheStack-ai

Context

zclean kills zombie processes immediately. Users may want to preview what would be killed before actually doing it.

What to do

Add a --dry-run flag that scans and reports zombie processes but doesn't kill them.

Files to modify

  • bin/ (CLI entry point — add flag)
  • src/killer.js (skip kill in dry-run mode)

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions