runenv
runenv
This command line tool loads environment variables from a file and then executes the specified command in an environment containing the pre-existing environment variables as well as the environment variables defined within the specified environment file.
Installation
crystal build src/runenv.cr
Usage
$ runenv .env.local foo # load .env.local into environment and then run foo command
$ runenv foo # load .env into environment and then run the foo command
$ runenv foo bar baz # load .env into environment and then run `foo bar baz`
$ runenv .env.dev foo bar baz # load .env.dev into environment and then run `foo bar baz`
Contributors
- David Ellis - creator and maintainer
Repository
runenv
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- almost 2 years ago
- November 13, 2022
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 00:48:49 GMT
Languages