Skip to main content

get

Function get 

Source
pub fn get(
    out: &mut dyn Write,
    endpoint: &Endpoint,
    args: &ScopeArgs,
    key: &str,
    inherited: bool,
) -> Result<Option<Parameter>, CliError>
Expand description

Reads one parameter.

Inherited by default: a node that does not set camera.fps should see its dataflow’s value, and a dataflow that does not set it should see the cluster’s — which is the whole point of having three scopes. --exact turns the fallback off for the one caller that must know where a value lives rather than what it is.

§Errors