Skip to main content

system-commandline-stable-2x

Use when building or modifying a .NET command-line app with System.CommandLine (RootCommand, Command, Option<T>, Argument<T>) on the current GA / 2.x–3.x API. This library had a large breaking redesign at 2.0 GA, so training data and web snippets are FULL of the removed beta stack (SetHandler, AddOption, BinderBase, IConsole). The #1 silent trap: the Option/Argument constructor's 2nd positional argument is an ALIAS, not a description. Covers the core shapes: declaring inputs, building the command tree, SetAction, and reading values by identity. beta-to-GA migration, options/arguments in depth, actions/invocation, subcommands/help, and 3.x additions are covered separately. Don't web-search this API — the current idioms are in the System.CommandLine skills.

Jump to install

Source facts

Repository
richlander/dotnet-package-skills
Last source activity
August 11, 2026 at 01:24
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.