CreateDefault(BootstrapperFactory, string[], DefaultFeatures) Method
Creates a bootstrapper with a default configuration including logging, commands, shortcodes, and assembly scanning.
Namespace
Statiq.App
Containing Type
BootstrapperFactoryExtensions

Syntax

public static Bootstrapper CreateDefault(this BootstrapperFactory factory, string[] args, DefaultFeatures features = All)

Parameters

Name Type Description
factory BootstrapperFactory The bootstrapper factory.
args string[] The command line arguments.
features DefaultFeatures The default configurations to add to the bootstrapper.

Return Value

Type Description
Bootstrapper The bootstrapper.