Skip to content

Commit 1446f42

Browse files
julienldclaude
andauthored
fix: add --version/-V flag to CLI (#312)
The CLI previously crashed when running `ha-mcp --version` because it would attempt to create the server, which requires HOMEASSISTANT_URL and HOMEASSISTANT_TOKEN environment variables. Now the --version and -V flags are handled early, before any server initialization, allowing users to check their installed version without configuration. Fixes #290 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a2e6a3f commit 1446f42

0 file changed

File tree

    0 commit comments

    Comments
     (0)