summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 12:06:13 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 12:06:13 +0100
commitc5e1716d27602f5daaf86d9dbf1f39bc1124d025 (patch)
tree1af31183046d8c9b2483951917ac5437ceed16c1 /src/main
parent6fb015799c12a7abeac9e6970fb6bbd31a97cfa9 (diff)
downloadSkyHanniChangelogBuilder-c5e1716d27602f5daaf86d9dbf1f39bc1124d025.tar.gz
SkyHanniChangelogBuilder-c5e1716d27602f5daaf86d9dbf1f39bc1124d025.tar.bz2
SkyHanniChangelogBuilder-c5e1716d27602f5daaf86d9dbf1f39bc1124d025.zip
added border in output
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/Main.kt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt
index 3a86372..fb27357 100644
--- a/src/main/kotlin/Main.kt
+++ b/src/main/kotlin/Main.kt
@@ -124,10 +124,10 @@ private fun print(
OutputType.GITHUB -> " * "
OutputType.DISCORD_INTERNAL -> " - "
}
+ val border = "================================================================================="
println("")
- println("")
- println("outputType: $outputType")
- println("")
+ println("outputType ${outputType.name.lowercase()}:")
+ println(border)
println("## $title")
for (category in allowedCategories.map { getCategory(categories, it) }) {
if (outputType == OutputType.DISCORD_PUBLIC && category.name == "Technical Details") continue
@@ -153,6 +153,7 @@ private fun print(
println("```")
}
}
+ println(border)
}
fun getChangePrefix(name: String, outputType: OutputType): String = when (outputType) {