System.CommandLine.Invocation Namespace

Provides types for handling command invocation, including context, handlers, results, middleware, and middleware ordering.

Classes

Name Description
AsynchronousCommandLineAction
CommandHandler
CommandLineAction

Defines a behavior associated with a command line symbol.

HelpResult
InvocationContext
InvocationExtensions
ParseErrorAction

Provides command-line output with error details in the case of a parsing error.

ParseErrorResult
Process
SynchronousCommandLineAction

Defines a synchronous behavior associated with a command line symbol.

Interfaces

Name Description
ICommandHandler
IInvocationResult

Delegates

Name Description
InvocationMiddleware