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.
Project: Examples/SimpleErrorMessage
Use this when you want the smallest possible example of a diagnostic-like message with quoted and formatted text.
Project: Examples/FormattedList
Use this when you want to learn:
- wrapping and layout,
- titles and lists,
- colors and text decoration,
- manual terminal setup with different encodings or style managers.
Project: Examples/PrintHelp
Use this when you want to generate polished help output from the same CommandLine definition you use for parsing.
Project: Examples/ParseOptions
Use this when you want to see:
- GNU-style option parsing,
- typed option values through
OptionParseResult, - default positional argument handling,
- user-facing parse errors and suggestions,
- generated
--help/--versionflows.
Try it with:
dotnet run --project Examples/ParseOptions/ParseOptions.csproj -- --helo file.csProject: Examples/CaretDiagnostics
Use this when you want:
- source snippets,
- caret highlighting,
- diagnostic headers with file and line information,
- renderer customization for more context lines.
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.