Skip to main content
The CLI stores its API key in ~/.floo/config.json.

login

Sign in with the device-code flow in your browser.
The CLI shows a one-time code, opens your browser, and waits for you to finish. If the stored key is still valid, login exits early unless you pass --force.

Flags

Examples

JSON output

When the stored key is still valid, data also carries "already_authenticated": true.

Errors


logout

Clear stored credentials from ~/.floo/config.json.

JSON output


whoami

Show the signed-in user: email, masked API key, and display name.

JSON output

--json redacts api_key unless you pass the global --reveal-secrets flag, which prints the masked key. name is present only when a display name is set.

Errors


token

Print the raw API key to stdout, for piping into other tools.
Human mode prints only the key. With --json, the key is redacted unless you pass the global --reveal-secrets flag:

Errors


update-profile

Update your display name.

Flags

JSON output