submit

fun submit(command: String)(source)

submits command as if it was typed: it is echoed, kept in the history, and Events.submitted fires