Add Dev Command
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-10-26 00:02:01 +02:00
parent cb33bdcc6d
commit 8dd2756a31

View File

@ -48,9 +48,8 @@ class DevCommand : CliktCommand("dev") {
override val treatUnknownOptionsAsArgs = true
init {
println(if (System.getProperty("os.name").lowercase()
.let { osName -> listOf("mac", "nix", "sunos", "solaris", "bsd").any { it in osName } }
) UnixSystem().uid else 2050)
println(System.getProperty("os.name").lowercase()
.let { osName -> listOf("mac", "nix", "sunos", "solaris", "bsd").any { it in osName } })
}
val server by argument().help("Server Template")