Skip to main content

option_value

Function option_value 

Source
pub fn option_value(arguments: &[String], name: &str) -> Option<String>
Expand description

Returns one exact command-line option value.

§Parameters

§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");
  • crate::binaries for adjacent helpers that share the same runtime surface.