configure

fun configure(command: String, name: String? = null, step: Configure<RunCommand> = Configure {}): RunCommand

Creates and configures a RunCommand instance.

Return

Configured RunCommand instance

Parameters

command

The shell command to execute

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step