[][src]Function viperus::get

pub fn get<'a, 'b, T>(key: &'a str) -> Option<T> where
    ViperusValue: From<T>,
    &'b ViperusValue: Into<T>,
    ViperusValue: Into<T>,
    T: FromStr,
    T: Clone

get a configuration value of type T from global configuration in this order

  • overrided key
  • clap parameters
  • config adapter sourced values
  • default value