Skip to main content

resolve_stdin_value

Function resolve_stdin_value 

Source
pub fn resolve_stdin_value(value: String) -> Result<String>
Expand description

Resolve a value that might be “-” (meaning read from stdin). If the value is “-”, reads stdin. Otherwise returns the value as-is.