What's New
npx env-manager-decrypt CLI
Adds the counterpart to env-manager-encrypt — decrypt a dotenvx-compatible encrypted .env file back to plaintext.
npx env-manager-decrypt <file> [--env <name>] [--key <hex>] [-o <outfile>]- Reads private key from colocated
.env.keysautomatically --env <name>— readsDOTENV_PRIVATE_KEY_<NAME>from.env.keys--key <hex>— supply the private key directly, skipping.env.keys-o, --output <file>— write decrypted output to a separate file (non-destructive)- Strips
DOTENV_PUBLIC_KEYand the dotenvx header from the output
Changelog
feat(cli): addenv-manager-decryptCLI (#3)