JasperFx / oakton

Parsing and Utilities for Command Line Tools in .Net
http://jasperfx.github.io/oakton
Apache License 2.0
308 stars 41 forks source link

Add a bettter configuration debug view to the ConfigurationPreview description #52

Closed bitbonk closed 3 years ago

bitbonk commented 3 years ago

This code was shamelessly stolen from @andrewlock's blog post Viewing overwritten configuration values in ASP.NET Core.

As described in the blog post, this code will use the awesome Spectre.Console capabilities to displays a nice coloured tree view of all configuration keys and their values, including overwritten ones.