Skip to content

feat(cli): add JSON install status output#50

Open
phucnguyen1707 wants to merge 1 commit into
moshcoder:mainfrom
phucnguyen1707:feat/json-status-output
Open

feat(cli): add JSON install status output#50
phucnguyen1707 wants to merge 1 commit into
moshcoder:mainfrom
phucnguyen1707:feat/json-status-output

Conversation

@phucnguyen1707

Copy link
Copy Markdown

Summary

  • add --json output to moshcode engines and moshcode tools
  • expose a small stable schema for automation: name, description, binary, and installed
  • keep the existing human-readable output unchanged
  • document both forms in the README

Why

Scripts and coding agents currently have to parse status symbols and padded terminal text to discover which engines and workflow tools are installed. The JSON form makes that status directly consumable while preserving the existing CLI experience.

Tests

  • npm test
  • 166 tests, 163 passing, 3 skipped because optional PWA dependencies are not installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant