CLI Login
Authenticate the ScreenFramed CLI with the browser-based device flow.
Run:
bashscreenframed login
The CLI prints a verification URL, opens a browser when possible, waits for approval, and stores the returned scoped key in ~/.screenframed.json.
Non-interactive usage
For CI and scripts, avoid interactive login:
bashscreenframed capture https://example.com \ --api-key "$SCREENFRAMED_API_KEY" \ --output screenshot.png
Or set:
bashexport SCREENFRAMED_API_KEY="sf_live_..."
Check status
bashscreenframed status
Logout
bashscreenframed logout
Device flow API
The CLI uses Device Login under the hood. You usually do not need to call those endpoints directly unless you are building your own CLI or integration.