Skip to content

feat: add country selection for AT/DE support#1

Open
udondan wants to merge 14 commits into
manmal:mainfrom
udondan:main
Open

feat: add country selection for AT/DE support#1
udondan wants to merge 14 commits into
manmal:mainfrom
udondan:main

Conversation

@udondan
Copy link
Copy Markdown

@udondan udondan commented May 30, 2026

Summary

  • Adds set-country <code> command to switch between at (default) and de
  • API base URL is now dynamic (api.marktguru.at / api.marktguru.de)
  • login uses the configured country to extract the correct country-specific API key
  • Country is persisted in ~/.marktguru/config.json and shown in config output
  • Defaults to at for full backward compatibility

Usage

marktguru set-country de
marktguru login
marktguru set-zip 10115
marktguru search raw "milch"

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