Provides extension methods for setting up dependency injection for CliInvoke's core services and built-in middleware.
public static class AddCliInvokeExtensions
These methods register CliInvoke's core services and CliInvoke's core built-in
middleware (LoggingMiddleware, RetryMiddleware).
Platform middleware shipped in the CliInvoke.Specializations package
(PowerShellMiddleware, CmdMiddleware) is not registered here; call
AddCliInvokeSpecializations from that package alongside AddCliInvoke
when using UsePowerShell() or UseCmd().
kind:method, kind:property, kind:ctor. Press Esc to clear.AddCliInvoke(IServiceCollection, ServiceLifetime)Registers CliInvoke's core types and middleware in the DI container.