All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.strumenta.kolasu.lionweb.LionWebLanguageGeneratorCommand.kt Maven / Gradle / Ivy

There is a newer version: 1.5.73
Show newest version
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