Auth
geni login
Sign the CLI in to your General Input account.
geni login [flags]Opens your browser to a one-time approval page. Approve, and the CLI is signed in. If your account belongs to multiple workspaces, you'll be prompted to pick one as the active workspace.
After this, every subsequent geni command runs in your account's context, against your active workspace.
Output
Opening https://generalinput.com/cli/login?code=A4B2-9F1C
↳ approve in your browser
✓ Authenticated as jack@generalinput.com
✓ Active workspace: acme (Acme Inc.)Flags
| Flag | Notes |
|---|---|
--workspace <slug> | Skip the workspace prompt; set the active workspace directly. |
--server <url> | Override the API base URL. Useful for self-hosted or staging environments. |
Switch the active workspace later with geni workspace switch <slug>.