com.strumenta.kolasu.lionweb.LionWebLanguageGeneratorCommand.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kolasu-lionweb-gen Show documentation
Show all versions of kolasu-lionweb-gen Show documentation
Kolasu classes generation for LIonWeb
package com.strumenta.kolasu.lionweb
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.types.file
import io.lionweb.lioncore.java.language.Language
import io.lionweb.lioncore.java.serialization.JsonSerialization
class LionWebLanguageGeneratorCommand(val language: Language) : CliktCommand() {
val languageFile by argument().file(canBeDir = false)
override fun run() {
JsonSerialization.saveLanguageToFile(language, languageFile)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy