Skip to main content

statusline_json

Function statusline_json 

Source
pub fn statusline_json(report: &Report, plan_id: &str) -> String
Expand description

ocuse statusline --json: the same numbers the template resolves, in one object — plan and period label, period/month spend, the two rolling windows, and the top model. The *Cap keys are retired (always null): Go grants limits per model, so no account-wide pool exists, and the summed ceiling they carried read as a budget the console does not have.