Skip to content

Auto-load .env in CLI entrypoint for local development#10

Merged
rwestergren merged 1 commit into
mainfrom
dev-env
May 2, 2026
Merged

Auto-load .env in CLI entrypoint for local development#10
rwestergren merged 1 commit into
mainfrom
dev-env

Conversation

@rwestergren

Copy link
Copy Markdown
Owner

Adds python-dotenv and calls load_dotenv() inside main() so uv run cronometer-api-mcp picks up credentials from .env during development. Uses override=False so real environment (Docker, MCP client env blocks) always wins over the file. Ships .env.example and a short README note.

Adds python-dotenv and calls load_dotenv() inside main() so `uv run cronometer-api-mcp` picks up credentials from .env during development. Uses override=False so real environment (Docker, MCP client env blocks) always wins over the file. Ships .env.example and a short README note.
@rwestergren rwestergren merged commit 75edf00 into main May 2, 2026
1 check passed
@rwestergren rwestergren deleted the dev-env branch May 2, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant