1use collab::env::get_dotenv_vars;
2
3fn main() -> anyhow::Result<()> {
4 for (key, value) in get_dotenv_vars(".")? {
5 if option_env!("POWERSHELL").is_some() {
6 println!("$env:{}=\"{}\"", key, value);
7 } else {
8 println!("export {}=\"{}\"", key, value);
9 }
10 }
11 Ok(())
12}