CLI Login
Authenticate the ScreenFramed CLI with the browser-based device flow.
Use login for local development so you do not need to paste API keys into every command.
bashscreenframed login
The CLI opens a browser approval page and stores a scoped API key locally after authorization.
Non-interactive usage
For CI or scripts, use an environment variable:
bashSCREENFRAMED_API_KEY="sf_live_..." screenframed capture https://example.com
Check status
bashscreenframed status
Logout
bashscreenframed logout
Device flow API
The CLI uses the public device login endpoints:
POST /v1/device/codePOST /v1/device/token
See Device Login API if you need to understand or debug this flow.