Summary
Parses Spectre.Console
IRemainingArguments to CakeArguments.
- Namespace
- Cake
.Cli .Infrastructure - Containing Type
- I
Remaining Arguments Extensions
Syntax
public static CakeArguments ToCakeArguments(this IRemainingArguments remainingArguments, string[] targets = null, Action<IDictionary<string, List<string>>> preProcessArgs = null)
Parameters
| Name | Type | Description |
|---|---|---|
| remainingArguments | IRemainingArguments | The remainingArguments. |
| targets | string[] | The optional targets, i.e. if specified by command. |
| preProcessArgs | Action |
The optional pre-process arguments. |
Return Value
| Type | Description |
|---|---|
| CakeArguments | CakeArguments. |
