Skip to content

Releases: bicf/managenv

2026-02-25 improved behavior of config detection

25 Feb 17:02
0859a12

Choose a tag to compare

What's Changed

  • Adjust config path determination and improve README installation and … by @bicf in #7

Full Changelog: v1.0...v1.0.1

Initial version

25 Feb 16:14
d5a9e39

Choose a tag to compare

Here's a brief list of all managenv functionalities:

Core Functionality

  • into artifact files with automatic inheritance via dot notation Merge .env fragments
  • Auto-inheritance: backend.prod automatically includes then applies backend.prod overrides backend
  • Multiple source types: Local files (relative/absolute), URLs (https://), file:// URIs
  • Remote deployment: Deploy artifacts via SSH (scp) or rsync to remote servers

Configuration Management

  • Config class: Programmatic config file operations (load, save, init)
  • : Create new config file with default structure --init
  • : Check for missing files and undefined fragment references --validate
  • : Display all fragments and artifacts from config --list

Artifact Operations

  • Generate all artifacts: Default behavior, merges fragments into output files
  • Generate specific artifacts: -a artifact1 -a artifact2 or artifact1,artifact2
  • : Add new artifact definition with optional custom deployment URI --add
  • : Remove artifact definition from config --delete
  • : Preview output without writing files --dry-run
  • : Show unified diff of changes before writing (supports multiple artifacts) --diff
  • : Generate artifact immediately after adding --deploy

Fragment Operations

  • : Import existing .env file as fragment, auto-removes inherited variables --import
  • Fragment management: Add, remove, update fragment URIs via Config class

Additional Features

  • Automatic backups: History directory with timestamped backups before overwrite
  • URL caching: Cache remote fragment content during execution
  • Shell completion: Generate bash/zsh completion scripts with intelligent artifact/fragment name suggestions
  • Error handling: Configurable for remote deployments exit_on_fail