Expand description
envo - a typed .env manager.
Modules:
schema- parse the.envotyped schemaenvfile- parse/write dotenv filesresolve- layer schema defaults, env files, secrets, process envvalidate- check a resolved environment against the schemacrypto- encrypt/decrypt secrets at restscan- detect leaked secretshook- manage the git pre-commit hook
Modulesยง
- cli
- Command-line surface (clap derive).
- commands
- Command handlers. Each returns the process exit code to use.
- crypto
- Encryption at rest for secrets files.
- envfile
- Parsing and writing of dotenv-style
KEY=VALUEfiles, plus the small shared helpers (quoting, identifier checks) used across the crate. - hook
- Install/remove a managed
pre-commithook that runsenvo scan --staged. - output
- Minimal ANSI styling with TTY /
NO_COLORdetection. No external deps. - resolve
- Layered resolution of environment values.
- scan
- Secret-leak detection: regex rules for well-known credential formats, plus
verbatim matching of the values of
secret-typed schema variables. - schema
- The
.envoschema: a tiny typed declaration language for environment variables. Each non-empty, non-comment line isNAME: type [= default], with an optional trailing?to mark the variable optional. - validate
- Validate a resolved environment against a schema.