pub fn option_value(arguments: &[String], name: &str) -> Option<String>Expand description
Returns one exact command-line option value.
§Parameters
arguments: Input consumed bycrate::binaries::option_value.name: Input consumed bycrate::binaries::option_value.
§Returns
Returns Some when crate::binaries::option_value can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::binaries::option_value.
§Examples
ⓘ
let _result = pharos_native::binaries::option_value(todo!(), "name");§Related
crate::binariesfor adjacent helpers that share the same runtime surface.