dotnet/command-line-api
Command line parsing, invocation, and rendering of terminal output. observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 31.5
- age_days: 3060
- days_rel: 232
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
3674 stars · 431 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
System.CommandLine is a .NET library for command line parsing, model binding, invocation, and rendering of terminal output, plus the dotnet-suggest tool for shell completions. It is maintained under the dotnet organization and documented on Microsoft Learn.
Use cases
- parse command line arguments in a .NET app
- build a CLI tool in C#
- add shell tab completions to a command line program
- bind command line options to strongly typed models
- render help text and terminal output for a CLI
- implement POSIX-style options and subcommands
When to choose
- you are building a command line application or tool in .NET
- you want first-party Microsoft-supported parsing with model binding
- you need shell completion support for your CLI
When to avoid
- you are not on the .NET platform
- you need a full CLI framework with scaffolding and plugins rather than a parsing library
- you need a stable long-term API, as the library has had evolving pre-release APIs
Facets
library · maturity active
parser cli developer-tools developer-tools parsers cross-platform dotnet cli system-commandline shell-completions posix dotnet-suggest csharp command-line
2 sources
- readme: https://github.com/dotnet/command-line-api · fetched 2026-08-28 · 0847283cf4fc
- homepage: https://github.com/dotnet/command-line-api/wiki · fetched 2026-08-29 · 17def462ed95
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/command-line-api | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="dotnet/command-line-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem