Authentication
Log in with the device flow, check your login status, and log out.
paddi auth login
paddi auth status
paddi auth logoutlogin: uses a device flow — it prints a one-time code and a verification URL. In an interactive terminal (TTY), pressing Enter opens the browser for you; otherwise open the URL yourself and enter the code. It then polls at the interval the backend specifies (5 seconds by default) for up to 15 minutes; login fails if it times out or the code expires.status: shows the current user along with the current workspace and project.logout: revokes the server-side session and clears local credentials and config (the workspace/project context goes with it).
Access and refresh tokens are stored in the OS credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service) — never in plain text in the config file. An expired access token is exchanged automatically using the refresh token. If you supply a token via PADDI_TOKEN, the credential store and automatic refresh are skipped and keeping that token valid is up to you.
Logged in as Jane Doe (jane@example.com)
Workspace: Acme Inc
Project: Landing Page Revamp