aboutsummaryrefslogtreecommitdiff
path: root/runners/cli
diff options
context:
space:
mode:
Diffstat (limited to 'runners/cli')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 9f7755f6..fbdbf5eb 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -23,6 +23,12 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration {
override val moduleName: String by _moduleName
+ override val moduleVersion by parser.option(
+ ArgType.String,
+ description = "Documentation version",
+ fullName = "moduleVersion"
+ )
+
override val outputDir by parser.option(ArgTypeFile, description = "Output directory path")
.default(DokkaDefaults.outputDir)