Skip to content

feat(auth): add --region flag to signup and login#261

Open
LorrisSaintGenez wants to merge 2 commits into
mainfrom
feat/auth-signup-region
Open

feat(auth): add --region flag to signup and login#261
LorrisSaintGenez wants to merge 2 commits into
mainfrom
feat/auth-signup-region

Conversation

@LorrisSaintGenez

@LorrisSaintGenez LorrisSaintGenez commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

  • auth signup and auth login accept --region for the first application created when the account has none.
  • When no region is given and the CLI can't prompt (no TTY), the region picker is replaced by an actionable error — no region specified; pass --region (e.g. EU, UK, USC, USE, USW) — instead of dying on EOF. Makes sign-up completable from scripts and agents.

Test

algolia auth signup --help          # --region listed
algolia auth login --help           # --region listed
algolia auth signup --app-name "Demo" --region EU   # on a fresh account: first app created in EU, no region prompt

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codacy-production

codacy-production Bot commented Jul 9, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 3 duplication

Metric Results
Complexity 0
Duplication 3

View in Codacy

TIP This summary will be updated as you push new changes.

@LorrisSaintGenez LorrisSaintGenez self-assigned this Jul 9, 2026
@LorrisSaintGenez LorrisSaintGenez marked this pull request as ready for review July 9, 2026 20:55
… request

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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