Skip to content

Add CLI options for all env-only variables#27

Merged
haraldschilly merged 1 commit into
mainfrom
cli-options-all-env-vars
Apr 14, 2026
Merged

Add CLI options for all env-only variables#27
haraldschilly merged 1 commit into
mainfrom
cli-options-all-env-vars

Conversation

@haraldschilly
Copy link
Copy Markdown
Owner

Summary

  • Added --serial, --password, --owm-api-key, --location, --timezone, --profile-name CLI options to the optimize command
  • Removed manual os.environ lookups — Click handles env fallback via envvar=
  • Updated README configuration table to show the new CLI flags

Test plan

  • uv run python -m pytest — 60 tests pass, 100% logic coverage
  • --help shows all 6 new options with correct descriptions
  • CI passes

🤖 Generated with Claude Code

…ofile name

All six env-only variables now have corresponding --flags so
the optimizer can be configured entirely from the command line.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@haraldschilly haraldschilly merged commit 27a2cfb into main Apr 14, 2026
1 check passed
@haraldschilly haraldschilly deleted the cli-options-all-env-vars branch April 14, 2026 13:28
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