Implementation issue split out from #107.
Replace the mock-data body in packages/ts-cloud/bin/commands/cost.ts (cost:breakdown command) with real implementation:
- Honor the existing
--days <n> option (default 30).
- Query Cost Explorer for
last N days and the N days before that to compute the trend column.
- Group by service.
Acceptance
Related
Implementation issue split out from #107.
Replace the mock-data body in
packages/ts-cloud/bin/commands/cost.ts(cost:breakdowncommand) with real implementation:--days <n>option (default 30).last N daysandthe N days before thatto compute the trend column.Acceptance
cloud cost:breakdownandcloud cost:breakdown --days 7return real numbers.--profileflag honored.^ +12%.cli.warn('not implemented')guard introduced by Stub commands in cost.ts return mock data — implement or guard with 'not implemented' warning #107.Related