bilal-fazlani / commanddotnet

A modern framework for building modern CLI apps
https://commanddotnet.bilal-fazlani.com
MIT License
570 stars 29 forks source link

Spectre integration #360

Closed drewburlingame closed 2 years ago

drewburlingame commented 2 years ago

bring the goodness of the Spectre AnsiConsoele goodness readily available in CommandDotNet. Two great tastes that go great together https://www.youtube.com/watch?v=DJLDF6qZUX0

Spectre has a much better set of features for writing complex output and prompting, and they are problems I don't feel we need to solve in CommandDotNet if we don't need to.

This PR Includes a test package so the output to IAnsiConsole is passed through the TestTools. Spectre appears to be following some similar test patterns which made this easier. There are a few caveats, but I think they are acceptable.

Still needs documentation, and a design review from the Spectre crew if they're willing to oblige.

drewburlingame commented 2 years ago

broke this into two PRs for easier review