Skip to main content

validate_cli_key_value

Function validate_cli_key_value 

Source
fn validate_cli_key_value(arg: &str) -> Result<()>
Expand description

Ensure the correct format of --config key = value

We only want to allow “dotted key” (see https://toml.io/en/v1.0.0#keys) expressions followed by a value that’s not an inline table.