-
Notifications
You must be signed in to change notification settings - Fork 66
[Audit] Add --json output to 28 commands for CI/CD usage #89
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
28 commands lack --json structured output, making them hard to use in CI/CD pipelines:
install, translate, scan, sync, publish, remove, find, init, check, cicd, create, enable, eval, fix, manifest, methodology, pause, plugin, read, resume, save, serve, team, ui, update, agents-md, quick
Why This Matters
- CI/CD pipelines need parseable output to make decisions
skillkit install --jsonshould return{ skills: [...], agents: [...], success: true }skillkit scan --jsonshould return structured findings for security gatesskillkit sync --jsonshould report what changed
Proposed Solution
Add --json flag (Boolean option) to each command. When set:
- Suppress interactive prompts (imply
--yes) - Suppress colored/styled output
- Output a single JSON object to stdout
- Exit with non-zero code on failure
Priority
Start with the most CI/CD-relevant commands:
install,sync,scan,translate,publish,remove- Then
find,check,update,validate - Then the rest
Acceptance Criteria
- All commands accept
--jsonflag - JSON output is valid, parseable, and documented
- Non-interactive mode works with
--jsonin CI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request