OutdatedVersion / export-dotenv

Load .env files into an `export` compatible shell session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

export dotenv

I've caught myself prefixing a local.env's lines with export more times than I'd care to admit ... which this prevents!

Usage

Put binary on your path from

  • Releases
  • git clone and cargo build --release
$ echo 'HELLO=friend' > example.env
$ export-dotenv example.env | source /dev/stdin

About

Load .env files into an `export` compatible shell session

License:MIT License


Languages

Language:Rust 100.0%