I'll quick ask in case someone's got this top of mind: has anybody gotten Kotlin JS to accept "main" arguments in its script? Like, use the
suspend fun main(args: Array<String>)
function and generate something that can be run with arguments via node or bun.sh or whatnot
Rob Murdock
09/13/2023, 5:33 PM
due to sourcesets et all, its painful to google 😅
a
Artem Kobzar
09/13/2023, 5:40 PM
Oh, so, as far as I know, right now it's possible to provide main arguments only as a compiler argument (during the compilation of Kotlin code).
But it would be great if you will create an YouTrack ticket and I will try to implement it.