CommandStyle Class

Defines styles for specifying subcommands or nested commands.
public sealed class CommandStyle

Properties

Style ChildCommand
Gets or sets the style for child commands in the command section.
Style Header
Gets or sets the style for the header in the command section.
Style RequiredArgument
Gets or sets the style for required arguments in the command section.

Extension Methods

T And<CommandStyle>(Action<CommandStyle>)
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.