AddBranch(IConfigurator, string, Action<IConfigurator<CommandSettings>>) Method
Adds a command branch.
public static IBranchConfigurator AddBranch(this IConfigurator configurator, string name, Action<IConfigurator<CommandSettings>> action)
- Namespace
- Spectre
.Console .Cli - Containing Type
- Configurator
Extensions
Parameters
- IConfigurator configurator
- The configurator.
- string name
- The name of the command branch.
-
Action
<IConfigurator <CommandSettings> > action - The command branch configuration.