generate
This feature is only available by building from source or using the
structurizr/structurizr:previewDocker image.
system-landscape
The system-landscape subcommand provides a way to merge a number of workspaces to generate a system landscape workspace.
Options
-input: The path to the workspace JSON/DSL files (required).-output: The path of output workspace (required). If a directory is specified, the resulting file is namedworkspace.jsonin that directory.-include: Include filename filter as a regex (optional; defaults to.*workspace.(json|dsl)).-exclude: Exclude filename filter as a regex (optional; defaults to an empty string).-relationships: Whether to only include thefirstrelationship between two elements, orallrelationships between them.
Example
Generate a system landscape workspace from a directory of JSON workspaces (e.g. pulled from a server installation):
generate system-landscape -input /path/to/workspaces -output /path/to/system-landscape.json