Commandline Cheatsheet

Use when building command-line applications in .NET with System.CommandLine. Covers command/option/argument definitions, middleware, tab completion, parsing, and hosting integration for CLI tools. USE FOR: building CLI applications with typed argument parsing, creating dotnet tools with subcommands, System.CommandLine setup and configuration, adding tab completion to CLI apps, parsing and validating command-line arguments DO NOT USE FOR: executing external CLI processes (use cliwrap), rendering rich terminal UI with tables and progress bars (use spectre-console), building web APIs (use ASP.NET Core), simple Console.ReadLine input

Tyler-R-Kendrick d25943e 21 files · 31.7 KB Updated

File contents

Tyler-R-Kendrick/agent-skills/tree/main/skills/dotnet/cli/commandline-cheatsheet commit d25943e534

Frequently asked questions

npx skillmds@latest add tyler-r-kendrick/commandline-cheatsheet