dotnet / command-line-api

Command line parsing, invocation, and rendering of terminal output.
https://github.com/dotnet/command-line-api/wiki
MIT License
3.38k stars 381 forks source link

Refactor Hosting extensions #2450

Open fredrikhr opened 2 months ago

fredrikhr commented 2 months ago
fredrikhr commented 2 months ago

https://github.com/dotnet/command-line-api/issues/2390 shows that there might be a use-case for an UseHost extension method on BindingHandler that would allow to create per-command Host configurations instead of the current UseHost extension that is applied for the entire configuration.