Change CLI to use kordx.commands

This commit is contained in:
Wieland Schöbl
2021-01-08 17:40:46 +01:00
parent a8ec59c7ca
commit 69220fba32
15 changed files with 448 additions and 162 deletions

View File

@@ -0,0 +1,8 @@
package de.wulkanat.extensions
inline fun <T> Boolean.alsoIf(other: T, body: () -> Unit): Boolean {
if (this == other) {
body()
}
return this
}