Does Kotlin work well for writing command line too...
# announcements
r
Does Kotlin work well for writing command line tools? Can you do "myprogram -b" or do you have to do something like "java -jar myprogram.jar -b" ?
a
you can also try kscript
available at sdkman too
u
the intended way to run a command line Kotlin application is just
kotlin program.jar
, or
kotlin -cp program.jar com.test.MainClass
h
feel welcome @rednifre if you have any questions or suggestions concerning
kscript
r
Thanks @holgerbrandl , I'll check it out!