You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
claudbg/.beans/claudbg-4g3l--limit-list-ou...

16 lines
669 B
Markdown

---
# claudbg-4g3l
title: Limit list output to 10 by default with --limit flag
status: completed
type: feature
priority: normal
created_at: 2026-03-31T00:32:40Z
updated_at: 2026-04-01T05:44:56Z
---
Both `sessions list` and `agents list <session-id>` should default to showing only the 10 most recent entries (sorted most-recent-first). Add a `--limit=<N|all>` flag to override: accepts an integer (e.g. `--limit=50`) or the keyword `all` to show everything.
## Summary of Changes
Already implemented prior to this bean being created. The `Limit` enum with `Count(10)` default is in `src/cli.rs`, applied via `--limit` flag on both `sessions list` and `agents list`.