IRemainingArgumentsExtensions.

ToCakeArguments(IRemainingArguments, bool, string[], Action<IDictionary<string, List<string>>>) Method

Summary

Parses Spectre.Console IRemainingArguments to CakeArguments.

Syntax

public static CakeArguments ToCakeArguments(this IRemainingArguments remainingArguments, bool noReport, string[] targets = null, Action<IDictionary<string, List<string>>> preProcessArgs = null)

Parameters

Name Type Description
remainingArguments IRemainingArguments The remainingArguments.
noReport bool No report argument supplied.
targets string[] The optional targets, i.e. if specified by command.
preProcessArgs Action<IDictionary<string, List<string>>> The optional pre-process arguments.

Return Value

Type Description
CakeArguments CakeArguments.