ICommandModel Interface
Represents a command model.
public interface ICommandModel : ICommandContainer
- Namespace
- Spectre
.Console .Cli .Help - Interfaces
Properties
- abstract string ApplicationName
- Gets the name of the application.
- abstract string ApplicationVersion
- Gets the version of the application.
Extension Methods
-
T And
< I Command Model> (Action < I Command Model> ) - 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.