Skip to content

Add a limit flag to crash report listing #388

Description

@jongio

Crash report history can grow over time, and scripts often need only the newest entries.
Add a limit flag to grut report --list that trims both text and JSON list output.

Acceptance criteria:

  • grut report --list --limit N prints at most N reports.
  • grut report --list --json --limit N encodes at most N reports.
  • --limit 0 keeps the current unlimited behavior.
  • Negative limits return a clear error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions