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. |
SIGNUP_DISABLED | Sign-ups are currently disabled. Join the waitlist at https://getfloo.com. |
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 with an email address. An alternative to the browser-based sign-up flow.JSON output
Errors
| Code | Meaning |
|---|---|
EMAIL_TAKEN | This email is already registered. Use floo auth login to sign in. |
update-profile
Update your display name.Flags
| Flag | Description |
|---|---|
--name NAME | New display name |