Skip to content

Add .env vs .env.example key diff check #1

@vidya381

Description

@vidya381

Check that all keys defined in .env.example are present in the local .env file.

When should it run?
When both .env.example and .env exist in the project root.

Pass: All keys from .env.example are present in .env

Fail: List the missing keys and tell the user to add them to their .env


For reference on how to implement a check, look at internal/checks/binary.go. Follow the same pattern.

Once done, register it in internal/check/registry.go.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions