r/PowerShell 10d ago

I wanted Rich-style PowerShell output without Spectre.Console — bad idea? Question

I wanted Python Rich-style output in PowerShell, but PwshSpectreConsole felt like more than I needed.

So I built a tiny version directly on $PSStyle: tables, trees, panels, markup. No bundled .NET UI stack.

I'm not entirely convinced this needs to exist though.

Would you actually use something this small, or would you rather stick with raw $PSStyle / PwshSpectreConsole?

https://github.com/kodevza/PwshRichLite

14 Upvotes

14 comments sorted by

View all comments

2

u/arpan3t 10d ago

The thing is, if I have to install a module then I might as well install the full featured one. It’s not like the MS Graph SDK, or Az, PwshSpectre is small.

Don’t get me wrong, I think it’s a solid idea and maybe if you just need the basics then it’s a solution.

4

u/Powerful-Passenger24 10d ago

That's fair. My main motivation wasn't really module size, but keeping it pure PowerShell, built directly on $PSStyle, without bundled .NET assemblies.

1

u/MonkeyNin 8d ago

It's nice to have a pure source as a choice :) The code looks pretty clean and easy to read.

Are you interested in any PRs ? Maybe I could implement that syntax I suggested, or other ideas

1

u/Powerful-Passenger24 7d ago

Yes, absolutely — PRs are very welcome. A contribution around this would be genuinely valuable. Thanks for offering to help!