summaryrefslogtreecommitdiff
path: root/src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-03-14 13:35:40 +0100
committerLinnea Gräf <nea@nea.moe>2024-03-14 13:37:30 +0100
commit5a74c504da44a9dbea11da2129c2a72be8767d97 (patch)
tree29b1f07d24155dfc8ad040bc5319e0ef44ad6a55 /src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt
parentf5862b8edb1fe025eaf1c529764f1d9aab838cbe (diff)
downloadSkyHanniChangelogBuilder-autoverify.tar.gz
SkyHanniChangelogBuilder-autoverify.tar.bz2
SkyHanniChangelogBuilder-autoverify.zip
Add check specific PR WIPautoverify
Diffstat (limited to 'src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt')
-rw-r--r--src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt b/src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt
new file mode 100644
index 0000000..5a7ca3c
--- /dev/null
+++ b/src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt
@@ -0,0 +1,13 @@
+package at.hannibal2.skyhanni.changelog
+
+object CheckSpecificPR {
+ @JvmStatic
+ fun main(args: Array<String>) {
+ val arguments = Arguments()
+ val prNumArg = arguments.string("pr-num")
+ arguments.parseFlags(args)
+ val prNum = prNumArg.value?.toIntOrNull() ?: arguments.printHelp("--pr-num is required")
+ println("Investigating PR: $prNum")
+ // TODO: actually test specific PR
+ }
+} \ No newline at end of file