ArgumentStyle Class
Defines styles for specifying arguments in a command.
public sealed class ArgumentStyle
- Namespace
- Spectre
.Console .Cli .Help
Properties
- Style Header
- Gets or sets the style for the header in the arguments.
- Style OptionalArgument
- Gets or sets the style for optional arguments.
- Style RequiredArgument
- Gets or sets the style for required arguments.
Extension Methods
-
T And
< Argument Style> (Action < Argument Style> ) - 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.