IHelpProvider Interface

The help provider interface for Spectre.Console.
public interface IHelpProvider
Implementing Types

Remarks

Implementations of this interface are responsbile for writing command help to the terminal when the `-h` or `--help` has been specified on the command line.

Methods

abstract IEnumerable<IRenderable> Write(ICommandModel, ICommandInfo)
Writes help information for the application.

Extension Methods

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