Closed trackd closed 11 months ago
Nice! I didn't know about IValidateSetValuesGenerator, that's really what I was after the first time. I'm working on splitting up the big PwshSpectreConsole.ps1 file and rewriting the docs in https://github.com/ShaunLawrie/PwshSpectreConsole/tree/prerelease (copilot did most of the first cut and they're a it rough 😆)
I've updated that branch to use this approach
Sweet, should probably close this then :)
Need to do some more tests, but figured i'd show you how i thought it could be solved.
this is a bit more concise.
aims to solve #9 & #10
I added a few where i found applicable,
^ fun ;)
looks a bit better in console with linewrap but.. errors can be a bit long sometimes.. might want to remove the ErrorMessage on a few, like colors?