Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Calls /internal/cli-auth/me with the stored token and prints the verified profile. Use it to confirm which account a CI runner or shared shell is using before syncing secrets.
Offline / cached profile
If the API is unreachable, whoami falls back to the profile cached in ~/.envless/config.json and warns that the data may be stale. The exit code is still 0 so it doesn’t break scripts that just need to surface the email.
Not signed in
If no session exists locally, whoami exits with code 1 and points you to envless login.
Invalid session
If the server rejects the token (revoked, expired, or user deleted), whoami reports the failure and exits 1. Re-authenticate with envless login.