@@ -98,123 +98,6 @@ The pattern supports two wildcards:
9898The --dir, --jar, and --url options specify the directories and JAR files that are used when locating SemanticDB files.
9999Each of these can be provided multiple times.
100100
101- By default, the classpath that was used when executing Scala2PlantUML is also used.
102-
103- -d, --dir <dir> Directories of the SemanticDB target roots containing META-INF/semanticdb/**/*.semanticdb files.
104-
105- Example:
106- --dir 'my-project/target/scala-2.13/meta'
107-
108- -j, --jar <jar> JAR containing META-INF/semanticdb/**/*.semanticdb files.
109-
110- Example:
111- --jar 'foo.jar'
112-
113- -u, --url <url> A URL to a JAR containing META-INF/semanticdb/**/*.semanticdb files.
114-
115- Example:
116- --url 'https://repo1.maven.org/maven2/com/example/foo/foo_2.13/1.0.0/foo_2.13-1.0.0-semanticdb.jar'
117-
118- The --project and --source options specify where within the search locations the SemanticDB files can be found.
119- Each of these can be provided multiple times. The result will be all combinations of projects and source roots.
120-
121- -p, --project <project> The name of the projects that have SemanticDB files.
122-
123- The project name will be used when looking for SemanticDB files such as:
124- META-INF/semanticdb/<project>/<source>/*.semanticdb
125-
126- An empty project name will search in:
127- META-INF/semanticdb/<source>/*.semanticdb
128-
129- Default: ''
130-
131- Example:
132- --project my-project
133-
134- -s, --source <source> The directory relative to the project where the source files were located.
135-
136- The source will be used when looking for SemanticDB files such as
137- META-INF/semanticdb/<project>/<source>/*.semanticdb.
138-
139- Default: src/main/scala
140-
141- Example:
142- --source 'source/scala'
143-
144- -l, --max-level <level> The maximum number of levels that will be traversed when following symbol references.
145-
146- This means that parent symbols that would be beyond the max level will not be shown.
147-
148- A diagram with a max-level of 1 will only contain the initial symbol.
149-
150- Default: Unlimited
151-
152- Example:
153- --max-level 3
154-
155- -o, --output <file> Write the output to the given file.
156-
157- Example:
158- --output docs/diagrams/my-project.puml
159-
160- -c, --colour <value> Enables coloured output.
161-
162- Default: true
163-
164- Example:
165- --colour false
166-
167- -v, --verbose Increases the log level.
168-
169- This can be provided twice for the most verbose logging.
170-
171- Example:
172- -vv
173-
174- -h, --help
175- --version
176- Error: Missing argument symbol
177- Scala2PlantUML version 0.2.0
178- Usage: scala2plantuml [options] symbol
179-
180- Scala2PlantUML generates PlantUML Class Diagrams from Scala SemanticDB files.
181-
182- symbol The symbol to use as the starting point for generating the diagram.
183-
184- To get a symbol from a class name, convert the package name separate '.' to '/' and add a '#'
185- suffix. For an object use a suffix of '.'.
186-
187- See https://scalameta.org/docs/semanticdb/specification.html#symbol-1 for the full syntax.
188-
189- Examples:
190- 'com/example/Foo#' (class com.example.Foo)
191- 'com/example/Foo.' (object com.example.Foo)
192- 'com/example/Foo.bar.' (value/variable bar on object com.example.Foo)
193- 'com/example/Foo#baz().' (function baz on class com.example.Foo)
194-
195- The --include and --exclude options control which symbols will be processed. Each of these can be provided multiple times.
196-
197- The pattern supports two wildcards:
198- 1) ** (matches any character)
199- 2) * (matches all characters except for '/')
200-
201- -i, --include <pattern> Only include symbols that match the pattern.
202-
203- Default: '**'
204-
205- Example:
206- --include 'com/example/**/model/*'
207-
208- -e, --exclude <pattern> Excludes all symbols that match the pattern.
209-
210- Default: 'scala/**', 'java/**'
211-
212- Example:
213- --exclude 'com/example/**/data/*'
214-
215- The --dir, --jar, and --url options specify the directories and JAR files that are used when locating SemanticDB files.
216- Each of these can be provided multiple times.
217-
218101By default, the classpath that was used when executing Scala2PlantUML is also used.
219102
220103 -d, --dir <dir> Directories of the SemanticDB target roots containing META-INF/semanticdb/**/*.semanticdb files.
0 commit comments