GenericRunner<TSettings>.

RunWithResult(string, TSettings, string[]) Method

Summary

Runs given command using given settings and additional and returns the exit code and output.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
GenericRunner<TSettings>

Syntax

public IEnumerable<string> RunWithResult(string command, TSettings settings, string[] additional)

Parameters

Name Type Description
command string The command.
settings TSettings The settings.
additional string[] Additional arguments.

Return Value

Type Description
IEnumerable<string> A System.ValueTuple containing ExitCode, Output and Errors.