ICommandConfigurator Interface

Represents a command configurator.
public interface ICommandConfigurator

Methods

abstract ICommandConfigurator IsHidden()
Marks the command as hidden. Hidden commands do not show up in help documentation or generated XML models.
abstract ICommandConfigurator WithAlias(string)
Adds an alias (an alternative name) to the command being configured.
abstract ICommandConfigurator WithData(object)
Sets data that will be passed to the command via the CommandContext.
abstract ICommandConfigurator WithDescription(string)
Sets the description of the command.
abstract ICommandConfigurator WithExample(string[])
Adds an example of how to use the command.