-
Notifications
You must be signed in to change notification settings - Fork 1
Home
StarFruit morphs your model into a System.CommandLine tree in two steps. First it interprets your model into an interim format. This keeps the concern of how to understand your model separate from concerns about how to create System.CommandLine classes. The set of Descriptors define Commands, Options, Arguments and SubCommands.
The code that does the work to understand your model based on a set of rules. Has a general base class that understands how to build descriptors, and a technology specific derived class that understands how to do things like retrieve an attribute. Examples of possible technology specific derived classes would be Reflection, Roslyn, and JSON.
The code that does the work to create a System.CommandLine parser from your model. We anticipate at least one more technology specific variation to support source generation for