cost command group provides cloud spend analytics: current costs, historical trends, forecasts, anomaly detection, and optimization recommendations. Billing data is pulled from provider APIs using cost sync.
cost sync
Pull the latest billing data from all connected cloud providers, or a specific one:
cost overview
Show a current cost summary across all connected providers:
cost report
Fetch a cost report for a specific provider and time period.
Synopsis:
| Flag | Values | Description |
|---|---|---|
--provider | provider ID | Filter by provider |
--period | 30d, 60d, 90d | Time period for the report |
cost trends
Show spend trends over time with optional provider and period filters:
| Flag | Values | Description |
|---|---|---|
--provider | aws, gcp, azure | Filter by provider type |
--period | 7d, 30d, 90d | Historical period |
cost forecast
Project future cloud spend based on historical usage patterns.
Synopsis:
| Flag | Values | Description |
|---|---|---|
--provider | provider ID | Limit forecast to one provider |
--days | 30, 60, 90 | Forecast horizon in days |