Skip to main content

Crate envx_secure

Crate envx_secure 

Source
Expand description

§envx

A CLI tool for .env file management: semantic diff, schema audit, and passphrase-based encryption.

§Subcommands

CommandDescription
commands::diffSemantic diff between two .env files
commands::auditValidate a .env file against a schema
commands::encryptEncrypt / decrypt .env files with age

§Quick start

# Compare two env files
envx diff .env.example .env

# Audit env file against a schema (one key per line)
envx audit --schema schema.env .env

# Encrypt
envx encrypt .env          # writes .env.age
envx decrypt .env.age      # restores .env

§Exit codes

  • 0 — success / no differences
  • 1 — differences found, missing/empty required keys, or any error

Modules§

cli
Command-line interface definitions.
commands
Implementations of each envx subcommand.
crypto
Thin wrappers around the age passphrase encrypt/decrypt primitives.
parser
Shared .env file parser.