buildCmdWith

fun buildCmdWith(lang: CmdLang, outputHandler: CmdOutputHandler, cmd: CmdBuilder.() -> String): CmdBuilder

Builder method for CmdBuilder for a single command.

Parameters

lang

the language the command script is written in.

outputHandler

handler of command outputs under lang.

cmd

lambda returning the single command to execute.