Why is "Cli" embedded in Spectre.Console? #328
-
From the currently active develop branch, we can see that Spectre.Console comes with a Command Line parsing/command model/executor component. Why is "Cli" not in a Spectre.Console.Cli package that depends on a minimalist Spectre.Console? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@olivier-spinelli For two reasons; It depends on Spectre.Console for its internals, and it's something that we personally use a lot and want to include in our little "console package". Since it's included in a separate namespace it doesn't really affect anything else. To be honest, I personally don't see it's as "confusing", but I guess that depends on what your picture of "Spectre.Console" is. |
Beta Was this translation helpful? Give feedback.
@olivier-spinelli For two reasons; It depends on Spectre.Console for its internals, and it's something that we personally use a lot and want to include in our little "console package". Since it's included in a separate namespace it doesn't really affect anything else.
To be honest, I personally don't see it's as "confusing", but I guess that depends on what your picture of "Spectre.Console" is.