Arguments

fun Arguments(indexedArguments: List<String> = emptyList(), namedArguments: Map<String, String> = emptyMap())

Parameters

indexedArguments

The list of arguments

How to retrieve a value:

val name = args.get<Type>(index) // The type is the object type that you expect to receive, the index is the index of the argument.
val lastname = args.get<Type>(name) // The type is the object type that you expect to receive, the name is the name of the argument.