Command Class
Base class for a command without settings.
public abstract class Command : ICommand<EmptyCommandSettings>,
ICommandLimiter<EmptyCommandSettings>, ICommand
- Namespace
- Spectre
.Console .Cli
Methods
-
abstract int Execute
(CommandContext) - Executes the command.
Extension Methods
-
T And
<Command> (Action <Command> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.