main

fun main(vararg args: String)

Host entry point for executing an Alchemist Kotlin script.

The application expects exactly one command-line argument: the path to a Kotlin script file (usually with extension .alchemist.kts) that evaluates to an instance of Loader. The returned loader's launcher will be used to launch the simulation.

Parameters

args

command-line arguments; must contain exactly one element which is the path to the script file to execute.

Throws

if the number of arguments is not exactly one.