pub async fn run_and_print(
runnable: &dyn CliRunnable,
args: HashMap<&str, Argument>,
) -> Result<(), CommandError>Expand description
Run a CliRunnable with the given argument map and render its result
to stdout in a script-friendly format. Returns the same CommandError
the runnable raised; the caller decides the exit code.