Overview
Add JSON output format support to the render command (roadmap task 12.11). Part of Phase 2 of the JSON output epic (#348).
The render command generates deployment artifacts (docker-compose files, Ansible playbooks, tracker config, etc.) without executing any infrastructure operations. Its JSON output contains the artifact generation result: environment name, configuration source, target IP, and output directory.
Rationale
Contains the list of generated artifact paths and their destinations. Enables automation to locate and process the generated files programmatically without parsing human-readable success messages.
Specification
See detailed specification: docs/issues/392-add-json-output-to-render-command.md
(File will be committed and renamed with the real issue number.)
JSON Output Format
{
"environment_name": "my-env",
"config_source": "Config file: /home/user/envs/my-env.json",
"target_ip": "192.168.1.100",
"output_dir": "/tmp/build/my-env"
}
Tasks
Related
Overview
Add JSON output format support to the
rendercommand (roadmap task 12.11). Part of Phase 2 of the JSON output epic (#348).The
rendercommand generates deployment artifacts (docker-compose files, Ansible playbooks, tracker config, etc.) without executing any infrastructure operations. Its JSON output contains the artifact generation result: environment name, configuration source, target IP, and output directory.Rationale
Contains the list of generated artifact paths and their destinations. Enables automation to locate and process the generated files programmatically without parsing human-readable success messages.
Specification
See detailed specification: docs/issues/392-add-json-output-to-render-command.md
(File will be committed and renamed with the real issue number.)
JSON Output Format
{ "environment_name": "my-env", "config_source": "Config file: /home/user/envs/my-env.json", "target_ip": "192.168.1.100", "output_dir": "/tmp/build/my-env" }Tasks
RenderDetailsDataview DTOJsonViewfor render commandTextView(preserving currentshow_successoutput)output_format: OutputFormatparameter toexecute()output_formatdocs/user-guide/commands/render.mdcargo run --bin linter all)Related
docs/roadmap.mdsection 12.11validatecommand (12.10) #390