AddDelegateCommand<TSettings>(Bootstrapper, string, string, Func<CommandContext, TSettings, int>) Method
Namespace
Statiq.App
Containing Type
BootstrapperCommandExtensions

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<CommandContext, TSettings, int>

Return Value

Type Description
Bootstrapper