This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Buildah.
Summary
Runs a command and returns a result based on processed output.
Syntax
public T[] RunWithResult<T>(string command, TSettings settings, Func<IEnumerable<string>, T[]> processOutput, params string[] arguments)
Type Parameters
Name |
Description |
T |
The type of the results. |
Parameters
Name |
Type |
Description |
command |
string |
the command to run. |
settings |
TSettings |
The settings. |
processOutput |
Func<IEnumerable<string>, T[]> |
the output returned from the execution. |
arguments |
string[] |
extra arguments. |
Return Value
Type |
Description |
T[] |
an Array of T. |