You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I often have startup tasks that must be performed prior to running the console. I usually hang these off IHost so that they can create IServiceScope and benefit from the rest of the DI configuration.
Describe alternatives you've considered
I looked at #134 and #185. They both wanted the same thing I do but it was early days and it appears they kind of fizzled.
I have a pull request ready to go that implements the above. I'd love for you to take a look at it!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I often have startup tasks that must be performed prior to running the console. I usually hang these off
IHost
so that they can createIServiceScope
and benefit from the rest of the DI configuration.However, you can't call
.Buid()
twice so that doesn't work withRunCommandLineApplicationAsync<T>()
.Describe the solution you'd like
I want to be able to do this:
Describe alternatives you've considered
I looked at #134 and #185. They both wanted the same thing I do but it was early days and it appears they kind of fizzled.
I have a pull request ready to go that implements the above. I'd love for you to take a look at it!
The text was updated successfully, but these errors were encountered: