본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: Envcheck – a small Python .env file checker

Article URL: https://github.com/rronkus/envcheck Comments URL: https://news.ycombinator.com/item?id=50624787 Points: 1 # Comments: 0

번역 서비스가 일시 중지되어 원문을 표시합니다.

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

자료 출처

원문 읽기 ↗
← 전체 소식 이어 읽기