Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lichynu7/envlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

envlock

Snapshot and diff environment variables across shell sessions and CI pipelines.


Installation

go install github.com/yourusername/envlock@latest

Or build from source:

git clone https://github.com/yourusername/envlock.git && cd envlock && go build -o envlock .

Usage

Take a snapshot of the current environment:

envlock snapshot --output env.lock

Diff two snapshots:

envlock diff env.lock env-new.lock

Compare current environment against a saved snapshot:

envlock diff env.lock --current

Example output:

+ NEW_VAR=hello
- REMOVED_VAR=old_value
~ PATH=/usr/bin → /usr/local/bin

envlock is useful for detecting unexpected environment changes between CI pipeline stages, debugging session drift, or auditing environment configuration over time.


License

MIT © yourusername

About

A tool to snapshot and diff environment variables across shell sessions and CI pipelines.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages