diff options
author | Linnea Gräf <nea@nea.moe> | 2024-03-14 13:35:40 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-03-14 13:37:30 +0100 |
commit | 5a74c504da44a9dbea11da2129c2a72be8767d97 (patch) | |
tree | 29b1f07d24155dfc8ad040bc5319e0ef44ad6a55 /src/main/kotlin/at/hannibal2/skyhanni/changelog/CheckSpecificPR.kt | |
parent | f5862b8edb1fe025eaf1c529764f1d9aab838cbe (diff) | |
download | SkyHanniChangelogBuilder-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.kt | 13 |
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 |