pub fn parse_opts() -> Result<(Settings, RunMode), Error>
Create settings by examining command line arguments and environment variables.