public static Bootstrapper AddDelegateCommand <TSettings>( this Bootstrapper bootstrapper, string name, string description, Func <CommandContext, TSettings, int> func) where TSettings : CommandSettings => bootstrapper.ConfigureCommands(x => x.AddDelegate(name, func).WithDescription(description));
public static Bootstrapper AddPipelineCommand( this Bootstrapper bootstrapper, string name, string description, bool defaultPipelines, params string[] pipelines) => bootstrapper.ConfigureCommands(x => x.AddPipelineCommand(name, defaultPipelines, pipelines).WithDescription(description));
public static Bootstrapper AddDelegateCommand( this Bootstrapper bootstrapper, string name, string description, Func <CommandContext, int> func) => bootstrapper.ConfigureCommands(x => x.AddDelegateCommand(name, func).WithDescription(description));
public static Bootstrapper AddDelegateCommand( this Bootstrapper bootstrapper, string name, Func <CommandContext, int> func) => bootstrapper.ConfigureCommands(x => x.AddDelegateCommand(name, func));
public static Bootstrapper AddPipelineCommand( this Bootstrapper bootstrapper, string name, string description, EngineCommandSettings commandSettings) => bootstrapper.ConfigureCommands(x => x.AddPipelineCommand(name, commandSettings).WithDescription(description));
public static Bootstrapper AddPipelineCommand( this Bootstrapper bootstrapper, string name, EngineCommandSettings commandSettings) => bootstrapper.ConfigureCommands(x => x.AddPipelineCommand(name, commandSettings));
public static Bootstrapper AddPipelineCommand( this Bootstrapper bootstrapper, string name, params string[] pipelines) => bootstrapper.ConfigureCommands(x => x.AddPipelineCommand(name, pipelines));
public static Bootstrapper AddCommand(this Bootstrapper bootstrapper, Type commandType, string name, string description) => bootstrapper.ConfigureCommands(x => x.AddCommand(commandType, name).WithDescription(description));
public static Bootstrapper AddCommand(this Bootstrapper bootstrapper, Type commandType, string name) => bootstrapper.ConfigureCommands(x => x.AddCommand(commandType, name));
public static Bootstrapper AddCommand <TCommand>(this Bootstrapper bootstrapper, string name) where TCommand : class, ICommand => bootstrapper.ConfigureCommands(x => x.AddCommand <TCommand>(name));