pub fn set(
out: &mut dyn Write,
endpoint: &Endpoint,
args: &ScopeArgs,
key: &str,
value: &str,
create_only: bool,
) -> Result<Parameter, CliError>Expand description
Writes one parameter.
ยงErrors
CliError::BadArgumentif the key,--nodeor the value is unusable.CliError::Refusedif--create-onlywas given and the key exists.- As
Client::requestotherwise.