Implementation issue split out from #107.
Replace the mock-data body in packages/ts-cloud/bin/commands/cost.ts (cost command) with real implementation:
- Query Cost Explorer for current month-to-date spend (use
CostExplorerClient.getCostByServicewithstart = first of current month,end = today + 1 day). - Compute naive linear projection:
total / days_elapsed * days_in_month. - Optionally compare to last month for the
Changecolumn.
Acceptance
cloud costreturns real numbers from the connected AWS account.--profileflag honored (same plumbing ascost:analyze).- Caches via the same Cost Explorer cache (#106).
- Replaces the
cli.warn('not implemented')guard introduced by #107.