mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
82dda11a2a
* feat(auth): add site login and whoami commands * fix(auth): satisfy docs and column audits * fix(auth): keep login browser sessions open * chore(auth): simplify whoami probe handler
1.0 KiB
1.0 KiB
GitHub
Mode: 🔐 Browser · Domain: github.com
Commands
| Command | Description |
|---|---|
opencli github whoami |
Show the currently logged-in GitHub account |
opencli github login |
Open GitHub login and wait until the browser session is authenticated |
Usage Examples
# Check current GitHub identity
opencli github whoami
# Open the login page if the current browser session is not authenticated
opencli github login
# JSON output for agents/scripts
opencli github whoami -f json
Prerequisites
- Chrome running and logged into github.com
- Browser Bridge extension installed
Notes
whoamiverifies the current browser cookie session and does not open the login page.loginopenshttps://github.com/loginin a foreground browser window and waits until OpenCLI can verify the account.- OpenCLI never fills credentials, CAPTCHA, 2FA, or passkeys. The user completes authentication in the browser; OpenCLI only verifies the resulting session.