structurizr / cli

A command line utility for Structurizr.
https://docs.structurizr.com/cli
Apache License 2.0
492 stars 75 forks source link

Use custom exporter for structurizr/cli docker #98

Closed qequ closed 1 year ago

qequ commented 1 year ago

Is there any way to load a custom exporter from Structurizr's docker image? Documentation only list the way using -export with the fully qualified class name but doesn't seem to be a way using the docker image getting the CLI classpath.

CC: @dgutson

simonbrowndotje commented 1 year ago

Not at this time ... you'd need to use the local installation (i.e. download the zipped version) or build your own Docker image that includes your additions.

dgutson commented 1 year ago

Ok let's close this, and try to get our exporter part of structurizr :)

More on a specific issue.

simonbrowndotje commented 1 year ago

You can now place your JAR file(s) into a plugins folder next to your workspace DSL file, which will allow you to load custom exporters via the pre-built Docker image.

(this works in the same way as DSL plugins)

dgutson commented 1 year ago

This is so great and convenient. Anyways I think our exporter might be a good contribution to structurizr. Thanks!