GenericDockerComposeRunner<TSettings>.

RunWithResult<T>(string, TSettings, Func<IEnumerable<string>, T[]>, string[]) Method

Summary

Runs a command and returns a result based on processed output.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
GenericDockerComposeRunner<TSettings>

Syntax

public T[] RunWithResult<T>(string command, TSettings settings, Func<IEnumerable<string>, T[]> processOutput, params string[] arguments)

Type Parameters

Name Description
T

Parameters

Name Type Description
command string
settings TSettings The settings.
processOutput Func<IEnumerable<string>, T[]>
arguments string[]

Return Value

Type Description
T[]