- Namespace
- Statiq
.App - Containing Type
- Bootstrapper
Command Extensions
Syntax
public static Bootstrapper AddDelegateCommand<TSettings>(this Bootstrapper bootstrapper, string name, string description, Func<CommandContext, TSettings, int> func)
where TSettings : CommandSettings
Type Parameters
| Name | Description |
|---|---|
| TSettings |
Parameters
| Name | Type | Description |
|---|---|---|
| bootstrapper | Bootstrapper | |
| name | string | |
| description | string | |
| func | Func |
Return Value
| Type | Description |
|---|---|
| Bootstrapper |