AddDelegate<TSettings>(IConfigurator<TSettings>, string, Func<CommandContext, CancellationToken, int>) Method
    Adds a command without settings that executes a delegate.
    
        public static ICommandConfigurator AddDelegate<TSettings>(this IConfigurator<TSettings> configurator, string name, Func<CommandContext, CancellationToken, int> func) 
    where TSettings : CommandSettings
        - Namespace
 - Spectre
.Console .Cli  - Containing Type
 - Configurator
Extensions  
Parameters
- 
                                
TSettings - The command setting type.
 
Parameters
- 
                            IConfigurator
<TSettings> configurator  - The configurator.
 - string name
 - The name of the command.
 - 
                            Func
<CommandContext, CancellationToken, int> func  - The delegate to execute as part of command execution.