Function parse_vec

Source
fn parse_vec(key: &str) -> Option<Vec<String>>
Expand description

Extracts the env var by key and parses it as a Vec<String>

§Arguments

  • key - Key for the environment variable.

§Returns

Returns an Option<Vec<String>> if the value is available.

§Panics

If the value is present, but it is an invalid data-type.