-
-
Notifications
You must be signed in to change notification settings - Fork 439
Open
Description
Add support for querying usage over the last N days (excluding today), for example:
npx @ccusage/codex@latest last --day 7
This should return usage from the previous 7 full days (yesterday going backwards), excluding the current day.
Expected Behavior:
--day Nreturns data from (today - N) to (yesterday)- Today is always excluded to avoid partial data
Example:
If today is March 25, --day 7 → March 18–24
This would help with consistent short-term usage analysis.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels