login
Authenticate with the floo API. Opens your browser for device code OAuth by default.~/.floo/config.json.
Flags
| Flag | Description |
|---|---|
--api-key KEY | Use an existing API key instead of browser auth (for scripts and agents) |
--force | Skip existing key validation and force re-authentication |
Examples
JSON output
Errors
| Code | Meaning |
|---|---|
DEVICE_CODE_EXPIRED | The device code expired before authentication completed. Run floo auth login again. |
DEVICE_AUTH_DENIED | Authorization was denied in the browser. |
WAITLISTED | Your account is on the waitlist. You’ll be notified when access is granted. |
CONFIG_ERROR | Failed to save credentials. Check ~/.floo/config.json permissions. |
logout
Clear stored credentials from~/.floo/config.json.
JSON output
whoami
Show the currently authenticated user, including email, masked API key, and display name.JSON output
Errors
| Code | Meaning |
|---|---|
NOT_AUTHENTICATED | No stored credentials. Run floo auth login. |
token
Print the raw API key to stdout. Useful for piping into other tools.--json mode:
Errors
| Code | Meaning |
|---|---|
NOT_AUTHENTICATED | No stored credentials. Run floo auth login. |
register
Create a new floo account for the given email address. Used byfloo auth login in the signup path; can also be called directly.
JSON output
update-profile
Update your display name.Flags
| Flag | Description |
|---|---|
--name NAME | New display name |