Skip to content

Example for Dynamic Cli Construction? #1415

Discussion options

You must be logged in to vote

@jonathanlocke This is not a scenario that we support OOTB (and probably won't either), but you should be able to create something using the IUnsafeConfigurator.

We haven't documented this, but take a look at the tests over at https://github.com/spectreconsole/spectre.console/blob/main/test/Spectre.Console.Cli.Tests/Unit/CommandAppTests.Unsafe.cs for more information.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jonathanlocke
Comment options

Answer selected by patriksvensson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants