System Commandline Options And Arguments

Use when declaring or configuring System.CommandLine inputs — Option<T> and Argument<T>: names vs aliases, Description, HelpName, completion, Required, DefaultValueFactory, Arity, stable-2.x case-insensitive known values, collection parsing, existing file/directory requirements, rejecting bad input, and checking explicit option presence across a command. This is where CompletionSources, CustomParser, Validators.Add, GetResult, and result.AddError belong.

richlander Updated 161 repo stars

File contents

richlander/dotnet-package-skills commit 51d3b17278

Frequently asked questions

npx get-skill add richlander/system-commandline-options-and-arguments