dotnet / dotnet/command-line-api

Use case of starfruit and generic host

Open
#915 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.