Specialised variation of ICommand with generic typing.
string? LongDescription
A detailled description of the command and its function.
Option[] CommandOptions
A list of options applicable to this command.
string Name
The (callable) name for the command.
string ShortDescription
A short description of the command and its function.
new Task< ICommandResult< T > > ExecuteAsync(params string[] args)
Asynchronous variation of Execute(string[]).
new ICommand< T > Execute(params string[] args)
Overrides the default implementation of ICommand with a generic type approach.
ICommandResult Execute(params string[] args)
Executes the command and returns a genericised variation of the ICommandResult<T>,...
Task< ICommandResult > ExecuteAsync(params string[] args)
Asynchronous variation of Execute(string[]).
A generic, object-based variation of ICommandResult<T>.