pub(crate) fn load_from(m: &ArgMatches) -> Result<Config, String>Expand description
Precedence is flag > file > default.
The file is read first and anything clap actually saw then overwrites it. No
flag carries a default_value, which is what keeps “not given” distinct from
“given the same value the default has” — --retention 7d has to win over a
file that says an hour even when 7d is also the built-in.