Pixie

Pixie is a C# library for beautiful and portable console output formatting/typesetting.


Project maintained by jonathanvdc Hosted on GitHub Pages — Theme by mattgraham

Examples

Pixie ships with a small set of focused examples. Each one is meant to show one adoption path clearly rather than cover the entire library.

SimpleErrorMessage

Project: Examples/SimpleErrorMessage

Use this when you want the smallest possible example of a diagnostic-like message with quoted and formatted text.

FormattedList

Project: Examples/FormattedList

Use this when you want to learn:

PrintHelp

Project: Examples/PrintHelp

Use this when you want to generate polished help output from the same CommandLine definition you use for parsing.

ParseOptions

Project: Examples/ParseOptions

Use this when you want to see:

Try it with:

dotnet run --project Examples/ParseOptions/ParseOptions.csproj -- --helo file.cs

CaretDiagnostics

Project: Examples/CaretDiagnostics

Use this when you want:

LoycInterop

Project: Examples/LoycInterop

Use this when you already use Loyc and want its diagnostics to render through Pixie.

For the package-level setup and rationale, see loyc.md.