Summary
Gets the arguments.
- Namespace
- Cake
.Core - Containing Type
- CakeContextAdapter
Syntax
public virtual ICakeArguments Arguments { get; }
Examples
Task("Args")
.Does(context =>
{
if (context.Arguments.HasArgument("target"))
{
Information("Target: {0}", context.Arguments.GetArgument("target"));
}
});
Value
| Type | Description |
|---|---|
| ICakeArguments | The arguments. |
