pub async fn run_updates(args: &[String]) -> i32
rpi updates check --json. Currently JSON is the only supported format so callers get a stable contract; the command rejects other arguments rather than silently inventing output.
rpi updates check --json