commandlineparser/commandline
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3224
- days_rel: n/a
- days_push: 916
- n_releases_24m: 0
Adoption not part of the score
4816 stars · 478 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CommandLineParser is a C# library for parsing command line arguments in .NET applications, offering a getopt-style API for defining options, switches, and verb commands. It includes automatic help screen generation, syntax error reporting, and optional F# support.
Use cases
- parse command line arguments in a .NET console app
- define git-style verb commands like 'commit' and 'add'
- auto-generate a customizable help screen for a CLI tool
- report syntax errors to users of a command line utility
- support mutually exclusive options and default values in a CLI
- build a cross-platform CLI tool with .NET Core or .NET Standard
When to choose
- you're building a .NET or .NET Core console application that needs robust argument parsing
- you want standardized *nix getopt-style parsing with minimal dependencies
- you need automatic, customizable help text and error reporting
- you want verb-command support similar to git's CLI structure
When to avoid
- you're not working in the .NET ecosystem
- you need a full CLI framework with prompts, colors, or interactive features rather than pure parsing
- your project requires a very lightweight or zero-dependency solution beyond what base libraries provide
Facets
library · maturity stable
parser cli developer-tools developer-tools cross-platform dotnet cross-platform windows command-line-parsing getopt fsharp-support help-text-generation nuget command-line linux macos
1 source
- readme: https://github.com/commandlineparser/commandline · fetched 2026-08-28 · a544be3b6bd5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| commandlineparser/commandline | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="commandlineparser/commandline")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem