cmd

fun cmd(vararg reqs: Subsystem, function: () -> Unit): InstantCommand

Creates an InstantCommand that executes the given function.

Return

An InstantCommand that executes the given function.

Parameters

function

The function to execute.