12 lines · 318 B · Rust
RawDownload
use collab::env::get_dotenv_vars; fn main() -> anyhow::Result<()> {    for (key, value) in get_dotenv_vars(".")? {        if option_env!("POWERSHELL").is_some() {            println!("$env:{}=\"{}\"", key, value);        } else {            println!("export {}=\"{}\"", key, value);        }    }    Ok(())}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t