repositorypackage
0.0.0-20241216165121-2c188b89370e
Repository: https://github.com/fhightower/ensync.git
Documentation: pkg.go.dev
# README
EnSync
Highlighting differences between env files (e.g. .env.example
and .env
).
Setup
- Clone the repo
- Run
go get
in the repo dir - Run
go run main.go <path>
(example:go run main.go /Users/floyd/work/foo
)
Usage
There are two use-cases for this tool:
- Comparing two env files in the current dir
- Comparing all env file pairs in all subdirs of the current dir
If the script finds both a .env
and .env.example
in the current dir, it will compare them and stop.
If there either one of these files is missing from the current dir, it will look for them in all subdirs of the current dir.