mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
19 lines
496 B
Kotlin
19 lines
496 B
Kotlin
package net.torvald.terrarum.console
|
|
|
|
import net.torvald.terrarum.Terrarum
|
|
import net.torvald.terrarum.langpack.Lang
|
|
|
|
/**
|
|
* Created by minjaesong on 16-04-23.
|
|
*/
|
|
internal object Version : ConsoleCommand {
|
|
override fun execute(args: Array<String>) {
|
|
|
|
Echo("${Terrarum.NAME} ${Terrarum.VERSION_STRING}")
|
|
Echo("Polyglot language pack version ${Lang.POLYGLOT_VERSION}")
|
|
}
|
|
|
|
override fun printUsage() {
|
|
Echo("Prints out current version of the application")
|
|
}
|
|
} |