Table of Contents

Class SubcommandAttributeConvention

Namespace
McMaster.Extensions.CommandLineUtils.Conventions
Assembly
McMaster.Extensions.CommandLineUtils.dll

Creates a subcommand for each SubcommandAttribute on the model type of CommandLineApplication<TModel>.

public class SubcommandAttributeConvention : IConvention
Inheritance
object
SubcommandAttributeConvention
Implements

Methods

Apply(ConventionContext)

Apply the convention.

public virtual void Apply(ConventionContext context)

Parameters

context ConventionContext

The context in which the convention is applied.