번역 서비스가 일시 중지되어 원문을 표시합니다.
A small Python CLI tool that compares .env files and identifies missing or unexpected environment variables. Features Detects missing environment variables. Identifies unexpected variables. Ignores comments and blank lines. Never displays secret values. No external dependencies. Run the following command: python envcheck.py .env.example .env .env.example DATABASE_URL= API_KEY= PORT=3000 DATABASE_URL=localhost PORT=3000 Missing: API_KEY Extra: None 1 missing, 0 extra Run the automated tests: python -m unittest -v Requirements Python 3.10 or newer No third-party packages