Repository navigation
Conversation
|
no API key found — this repo is configured to use To fix: add the key as a GitHub Actions secret (referenced from your workflow's Open repo secrets → · Configure model → · Setup docs → · Ask in Discord →
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (13)
📝 WalkthroughWalkthroughTwo new top-level CLI shortcut commands— Changestoday / this-week shortcut commands
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
This PR was auto-closed. Only contributors approved with Maintainers review auto-closed issues and reopen worthwhile ones. Issues that do not meet the quality bar in CONTRIBUTING.md may not be reopened or receive a reply. If a maintainer replies See CONTRIBUTING.md. |
|
Historical audit: this pull request was auto-closed by the legacy contributor gate. That closure did not assess technical importance. Audit result: resolved. A later merged change or the current |

Summary
ccusage todayandccusage this-weekshortcuts for unified all-agent daily reportstodayfrom the selected timezone, and calculatethis-weekfrom Monday through todayTest plan
cargo fmt --manifest-path rust/Cargo.toml --all --checkgit diff --checkcargo test --manifest-path rust/Cargo.toml --workspaceCCUSAGE_PRICING_JSON_PATH="$(pwd)/rust/crates/ccusage/src/models-dev-pricing.json" cargo run --manifest-path rust/Cargo.toml -p ccusage --bin ccusage -- today --offline --json --no-cost --jq '.daily | length'CCUSAGE_PRICING_JSON_PATH="$(pwd)/rust/crates/ccusage/src/models-dev-pricing.json" cargo run --manifest-path rust/Cargo.toml -p ccusage --bin ccusage -- this-week --offline --json --no-cost --jq '.daily | length'Closes #1300
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by cubic
Adds
ccusage todayandccusage this-weekas fast shortcuts for unified daily reports across all detected sources. Both respect--timezoneand map to daily reports with the correctsince/until.ccusage today: today’s daily rows across all sources.ccusage this-week: daily rows from Monday through today.--timezone; internally setsince/until.Shortcutcommand path; parser, types, and main dispatch updated.--helpupdated; README and guides refreshed.Written for commit 6e71eec. Summary will update on new commits.
Summary by CodeRabbit
New Features
ccusage todayshortcut command for viewing today's usageccusage this-weekshortcut command for viewing this week's usage grouped by date--timezonesetting when computing date rangesDocumentation