Skip to main content

node_dispatch

Function node_dispatch 

Source
pub async fn node_dispatch(
    args: &NodeArgs,
    global_config: Option<&Path>,
) -> Result<()>
Expand description

Dispatch a decdn node <sub> invocation.

global_config is the path (if any) from the top-level decdn --config flag. It’s consulted as a fallback when the subcommand didn’t set its own --config, so decdn --config foo.toml node health works the way the help text implies.