Skip to content

fix(cli): infer region from oauth token#24

Merged
odsod merged 1 commit intomainfrom
fix/mercedes-cli-region-inference
Mar 26, 2026
Merged

fix(cli): infer region from oauth token#24
odsod merged 1 commit intomainfrom
fix/mercedes-cli-region-inference

Conversation

@odsod
Copy link
Copy Markdown
Member

@odsod odsod commented Mar 26, 2026

  • avoid prompting for an API key when OAuth client credentials are already provided
  • infer the Mercedes region from the cached OAuth token when the credential store is unavailable
  • add CLI tests covering prompt behavior and token-based region resolution

Test plan:

  • cd cli && go test ./...

- avoid prompting for an API key when OAuth client credentials are already provided
- infer the Mercedes region from the cached OAuth token when the credential store is unavailable
- add CLI tests covering prompt behavior and token-based region resolution
@odsod odsod merged commit 7dd9b39 into main Mar 26, 2026
1 check passed
@odsod odsod deleted the fix/mercedes-cli-region-inference branch March 26, 2026 13:45
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