pub async fn run(args: &TopArgs, global_config: Option<&Path>) -> Result<()>Expand description
Entry point dispatched from node_dispatch. Polls the daemon’s
/metrics endpoint every --interval-ms, parses it, and renders
the table. Single-shot JSON mode bypasses the loop and exits
after one fetch.