Skip to content

Add --format json flag to organvm registry list command #83

Description

@4444J99

Description

The organvm registry list command currently outputs a human-readable table. For scripting and automation, a --format json flag would emit the results as JSON.

Context

The CLI already has --json output in some subcommands (e.g., organvm omega status --json). This issue is about adding consistent JSON output to registry list.

Implementation hints

  • Entry point: src/organvm_engine/cli/registry.py
  • The registry data is already loaded as dicts — just needs a conditional json.dumps() path
  • Follow the pattern used in cli/omega.py for the --json flag

Acceptance criteria

  • organvm registry list --format json outputs valid JSON array
  • Each entry includes: name, organ, status, tier, public
  • Existing table output remains default
  • Tests added in tests/test_cli_registry.py

Estimated effort

~30 minutes for someone familiar with Click/Typer CLI patterns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew capability or meaningful extension of existing behaviorgood first issueWell-scoped, self-contained — good entry point for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions