This repository contains the code for the System.CommandLine libraries and the
dotnet-suggest global tool.
||Command line parser, model binding, invocation, shell completions|
||Build command-line apps by convention with a strongly-typed
||Structured terminal output rendering and ANSI support|
||support for using System.CommandLine with Microsoft.Extensions.Hosting|
||A command-line tool to provide shell completions for apps built using
Daily builds are available if you add this feed to your nuget.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json.
- Suggestions (tab completion)
- Version option
- Parse preview
- Response files
- Termination handling
Your first app
- Add a subcommand (or verb)
- Add an alias to an option or command
- Call a method
- Pass parameters to a method
- Argument validation and binding
- Middleware Pipeline
Code of Conduct
See the Contributing guide for developer documentation.
This project is licensed under the MIT license.
.NET is a .NET Foundation project.