Skip to content

Add a scopeform status CLI command #1

Description

@Emart29

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.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions