Releases: luocfprime/envlit
Releases · luocfprime/envlit
v0.0.5
v0.0.4
v0.0.3
Bug Fix
- Fixed compatibility bug when creating tmp files using mktemp.
Full Changelog: v0.0.2...v0.0.3
v0.0.2
Enhancement
- Improved command help messages.
- Improved variable operations.
New Features
- Support
--helpfor aliaselandeul. - Support
envlit statecommand, which can be used for.envfile export.
Full Changelog: v0.0.1...v0.0.2
v0.0.1
Initial release of envlit - a simple CLI tool to organize, load, and switch between your project's environment contexts.
Features
- Smart state tracking - Automatically tracks environment changes and restores previous state when unloading
- Dynamic CLI flags - Define flags in YAML that become command-line options
- Path operations - Prepend, append, or remove entries from PATH-like variables
- Lifecycle hooks - Execute custom scripts before/after loading/unloading environments
- Config inheritance - Extend base configurations to reduce duplication
- Literal dollar signs - Use
{{DOLLAR}}placeholder for literal$in environment values
Installation
pip install envlitQuick Start
# Initialize in your shell
eval "$(envlit init)"
# Create config at .envlit/default.yaml
# Load environment
el
# Unload environment
eulCompatibility
- Python 3.10+
- Bash 3.2+ (including macOS default shell)
- Zsh
Full Changelog: https://github.com/luocfprime/envlit/commits/v0.0.1