Skip to content

Make goodeye register interactive when run without --email#37

Merged
rhiever merged 2 commits into
mainfrom
register-interactive
Jun 16, 2026
Merged

Make goodeye register interactive when run without --email#37
rhiever merged 2 commits into
mainfrom
register-interactive

Conversation

@rhiever

@rhiever rhiever commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

What

A bare goodeye register previously errored on a missing --email option, so a new user reaching for "register" hit a dead-end. The only interactive path was goodeye login.

register with no arguments now runs the same browser/device-code sign-in flow as login (the hosted sign-in page creates the account for new users and signs in returning users). register --email is unchanged for agents and automation, and it gained --referral-code for parity with login.

The interactive flow is factored into a shared run_interactive_login helper so login and register stay in lockstep.

Tests

Added interactive-register coverage (with/without referral, bare-register-runs-device-code, register --help parity). Full suite green: 748 passed, ruff + ruff-format clean, pyright 0 errors.

Also bumps the version to 0.18.2.

🤖 Generated with Claude Code

rhiever and others added 2 commits June 15, 2026 18:24
A bare 'goodeye register' previously errored on a missing --email option,
leaving new users with no interactive path (only 'goodeye login' had one).
Register now shares the same browser/device-code flow as login, which
creates the account for new users, while 'register --email' stays for
automation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rhiever rhiever merged commit f3fe1af into main Jun 16, 2026
1 check passed
@rhiever rhiever deleted the register-interactive branch June 16, 2026 01: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