pub fn core(args: impl Iterator<Item = String>, cwd: PathBuf) -> Opts