A lightweight, powerful and NativeAOT-friendly command-line parser for .NET.
Build composable CLIs with commands, options, arguments, validation, and pluggable outputs.
Install XenoAtom.CommandLine for the parser, help system, validation, and completions.
dotnet add package XenoAtom.CommandLine
Add XenoAtom.CommandLine.Terminal for markup and rich visual output powered by XenoAtom.Terminal.UI.
dotnet add package XenoAtom.CommandLine.Terminal
Animation preview (default help, markup, visual output, and diagnostics):
Compose nested command trees and strict positional arguments with cardinality support.
Support -/--//, aliases, short bundles, key/value forms, and typed parsing.
Use built-in validators, custom delegates, mutually-exclusive options, and requires relationships.
Generate help automatically and provide context-aware errors with useful suggestions.
Swap output pipelines through ICommandOutput and choose default, markup, or custom formats.
Add terminal markup/visual output, response files, completions, Parse API, and NativeAOT-friendly runtime behavior.