diff options
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 |