fun parseCommandlet()

in common/src/main/kotlin/com/jetbrains/teamcity/plugins/unrealengine/common/commandlets/CommandletParameters.kt [40:47]


    fun parseCommandlet(runnerParameters: Map<String, String>): Commandlet {
        val commandlet = runnerParameters[name]?.trim()
        if (commandlet.isNullOrEmpty()) {
            raise(PropertyValidationError(name, "The commandlet name is not set."))
        }

        return Commandlet(commandlet)
    }