export to json feature is changed/broken?
im-bpriestman opened this issue · 3 comments
Hi,
I had a workflow set-up to chain structurizr workspaces. It relied on using the cli export command to take a dsl file and export it to json, to be used as by lite containers and as input for the next step.
Previously, structurizr export -w workspace.dsl -f json -o .
would convert a workspace.dsl
file to a workspace.json
file, which could be read both by a lite container and consumed by other workspaces.
Now (since 29acf51, I assume), it outputs a structurizr.json
file containing invalid json (it's missing a final }
).
There doesn't seem to be any way to specify the name of the file exported, only the path destination. That's fine, I can adjust code to match that.
Is the invalid json intentional, though, or is this bug?
Yes, it was broken ... apologies ... v1.20.1 is now available that resolves this.
Thanks. I'll wait for a new build of the lite container...
You're welcome. But ... there's no need to wait for a new build of the Lite container. :-)