cli-py/scopeform/main.py registers login, init, deploy, revoke, and logs — there's no status command. It's a useful, self-contained addition.
Task
- Add
cli-py/scopeform/commands/status.py that reads the local scopeform.yml and queries the API for the agent's token expiry, last activity, and active/revoked state.
- Register it in
main.py following the existing commands (use deploy/logs as templates for the api_url wiring).
Acceptance criteria
scopeform status prints the agent's current state.
- Clear error if the directory isn't initialized (no
scopeform.yml).
Good starter — the command pattern is already established. Comment to claim.
New here? See CONTRIBUTING.
cli-py/scopeform/main.pyregisterslogin,init,deploy,revoke, andlogs— there's nostatuscommand. It's a useful, self-contained addition.Task
cli-py/scopeform/commands/status.pythat reads the localscopeform.ymland queries the API for the agent's token expiry, last activity, and active/revoked state.main.pyfollowing the existing commands (usedeploy/logsas templates for theapi_urlwiring).Acceptance criteria
scopeform statusprints the agent's current state.scopeform.yml).Good starter — the command pattern is already established. Comment to claim.
New here? See CONTRIBUTING.