api / org.gradle / TaskExecutionRequest / getArgs

getArgs

abstract fun getArgs(): MutableList<String>

The arguments to use to select and optionally configure the tasks, as if provided on the command-line.

Return
task name.