@aman179102/typeenv-cli
v0.1.1
Published
CLI for type-env — init, validate, and generate .env.example from JSON Schema
Maintainers
Readme
Usage
npx @aman179102/typeenv-cli init # Create env.schema.json
npx @aman179102/typeenv-cli generate # Generate .env.example + env.d.ts
npx @aman179102/typeenv-cli check # Validate .env against schemaOptions
| Flag | Description |
|------|-------------|
| --strict | Fail on warnings (check command) |
| --silent | Suppress non-error output |
| --schema | Path to schema file (default: env.schema.json) |
Commands
- init — Scaffolds
env.schema.jsonin your project - generate — Creates
.env.exampleandenv.d.tsfrom your schema - check — Validates current
.envagainst schema (for CI)
License
MIT
