Conversation
For the sake of agent-friendliness - adds structured output for consumption from ad-hoc bash/Python scripts, direct parsing etc. Tested by Qwen 3.6 27B against openfaas edge installation to show that the original did not revert, and the new behaviour is in place. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
AI Pull Request OverviewDisclaimer: This review was generated by automated AI and may contain errors. Do not trust its outputs without human verification. Summary
Approval rating (1-10)6/10. The feature is broadly useful, but structured output needs to be reliable for empty results and warning paths before merge. Summary per fileSummary per file
Overall AssessmentThe implementation is directionally sound and keeps the changes localized, but Detailed ReviewDetailed ReviewFindingsMedium:
|
Description
Add --json/-j to most get/list commands
Motivation and Context
For the sake of agent-friendliness - adds structured output for consumption from ad-hoc bash/Python scripts, direct parsing etc.
How Has This Been Tested?
Tested by Qwen 3.6 27B against openfaas edge installation to show that the original did not revert, and the new behaviour is in place.
Types of changes
Checklist:
Remains in Cobra help messages for now - not separately on docs site - but will include in agent-skills when released for the openfaas-function-developer skill.
https://github.com/openfaas/agent-skills