aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-09-03 13:39:58 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-09-04 08:55:02 +0200
commitcc3d4872f70cfebaf5d85c72af0030f526671915 (patch)
treeb8f75efddd4cb631b930b0d24efdbdcc4159ee73 /runners/cli/src
parent4d8e84396824b8a3d5d6e3e26ea4911fa944e3aa (diff)
downloaddokka-cc3d4872f70cfebaf5d85c72af0030f526671915.tar.gz
dokka-cc3d4872f70cfebaf5d85c72af0030f526671915.tar.bz2
dokka-cc3d4872f70cfebaf5d85c72af0030f526671915.zip
Javadoc version number is always 0.0.1 #1406
Diffstat (limited to 'runners/cli/src')
-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)