{"repo":"XenoAtom/XenoAtom.CommandLine","free":true,"listed":false,"github":"https://github.com/XenoAtom/XenoAtom.CommandLine","clone":"git clone https://github.com/XenoAtom/XenoAtom.CommandLine.git","description":"XenoAtom.CommandLine is a lightweight, powerful and NativeAOT-friendly command-line parsing library for .NET","language":"C#","stars":98,"topics":["command-line","command-line-parser","dotnet","dotnet-core","terminal-ui","cli-parser"],"license":null,"category":"cli-tools","readme_excerpt":"XenoAtom.CommandLine XenoAtom.CommandLine is a lightweight, powerful and NativeAOT-friendly command-line parsing library for .NET ✨ Features - Lightweight and NativeAOT-friendly ( net8.0 +), with zero dependencies - Composition-first API: declare commands/options with collection initializers ( no attributes, no base classes, no required \"command classes\" ) - Auto-generated usage/help: \"what you declare is what you get\" - Commands and sub-commands (e.g. git commit -m \"message\" ) - Strict positional arguments by default (named args + remainder): , ? , , + , < - Fast parsing: optimized hot paths ( no regex ), low GC allocations - Powerful option parsing - Prefixes: - , -- , / (e.g. -v , --verbose , /v ) - Aliases: -v , --verbose - Bundled short options: -abc == -a -b -c (tar/POSIX style) - Values: required = / optional : (e.g. -o , -oVALUE , -o:VALUE , -o=VALUE ) - Multiple values: -i foo -i bar - Key/value pairs: -DMACRO=VALUE - Built-ins: --help and --version - Environment variable fallbacks: bind options to env vars (with optional delimiter splitting) - Option and argument validation: built-in validators ( Validate.Range , Validate.NonEmpty , Validate.OneOf , ...) - Option constraints: declare mutually-exclusive and requires relationships between options - Test-friendly parse API: inspect parse results via CommandApp.Parse(...) without invoking command actions - Pluggable output rendering: replace built-in help/error/version/license rendering via CommandConfig.OutputFactory -","default_branch":null,"files":null,"tree":[],"storefront":"/r/XenoAtom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/XenoAtom/XenoAtom.CommandLine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}