aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
Diffstat (limited to 'runners')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt11
1 files changed, 8 insertions, 3 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 5d7ec1f7..93902be5 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -15,9 +15,16 @@ open class GlobalArguments(parser: DokkaArgumentsParser) : DokkaConfiguration {
override val format: String by parser.stringOption(
listOf("-format"),
- "Output format (text, html, markdown, jekyll, kotlin-website)",
+ "Output format (text, html, gfm, jekyll, kotlin-website)",
"")
+ override val pluginsClasspath: List<File> by parser.repeatableOption(
+ listOf("-dokkaPlugins"),
+ "List of jars with dokka plugins"
+ ) {
+ File(it)
+ }
+
override val generateIndexPages: Boolean by parser.singleFlag(
listOf("-generateIndexPages"),
"Generate index page"
@@ -36,8 +43,6 @@ open class GlobalArguments(parser: DokkaArgumentsParser) : DokkaConfiguration {
) {
Arguments(parser)
}
-
- override var pluginsClasspath: List<File> = emptyList()
}
class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfiguration {