dotnet / dotnet/command-line-api
Use case of starfruit and generic host
Open
Area-App Models
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Moved from https://github.com/KathleenDollard/command-line-api-starfruit/issues/49
**Question:** How can we use Generic Host alongside with the _Starfruit_?
**Context:** A lot of open-source projects incorporate Attribute-first approach. But it looks like not so many projects could be used together with _Generic Host_ that easily. AFAIK, _Starfruit_ app model is designed with the idea to hide the complexity and get rid of the dependency on `System.CommandLine`. Currently, it is only possible to wire up Generic Host via `CommandLineBuilder.UseHost` method
Contributor guide
Assessment
This issue has not been assessed yet.