Skip to content

Releases: luocfprime/envlit

v0.0.5

28 Mar 08:30

Choose a tag to compare

Bug Fix

Fix dynamic flag binding.

Full Changelog: v0.0.4...v0.0.5

v0.0.4

26 Feb 13:10
a293f2c

Choose a tag to compare

Bug Fix

  • Fixed bug when using el with flags (e.g. el --foo bar)

Full Changelog: v0.0.3...v0.0.4

v0.0.3

13 Feb 17:30
8c09a4e

Choose a tag to compare

Bug Fix

  • Fixed compatibility bug when creating tmp files using mktemp.

Full Changelog: v0.0.2...v0.0.3

v0.0.2

13 Feb 10:18

Choose a tag to compare

Enhancement

  • Improved command help messages.
  • Improved variable operations.

New Features

  • Support --help for alias el and eul.
  • Support envlit state command, which can be used for .env file export.

Full Changelog: v0.0.1...v0.0.2

v0.0.1

13 Feb 07:29

Choose a tag to compare

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 envlit

Quick Start

# Initialize in your shell
eval "$(envlit init)"

# Create config at .envlit/default.yaml
# Load environment
el

# Unload environment
eul

Compatibility

  • Python 3.10+
  • Bash 3.2+ (including macOS default shell)
  • Zsh

Full Changelog: https://github.com/luocfprime/envlit/commits/v0.0.1