Function get_network

Source
pub fn get_network(network: &Option<NetworkName>) -> Result<NetworkName>
Expand description

Returns the network name. If the --network options is not provided, it will default to the environment variable.