/command-line-api

System.CommandLine: Command line parsing, invocation, and rendering of terminal output.

Primary LanguageC#MIT LicenseMIT

System.CommandLine

Build Status Join the chat at https://gitter.im/dotnet/command-line-api

This repository contains the code for System.CommandLine, a set of libraries for command line parsing, invocation, and rendering of terminal output. For more information, see our wiki.

Packages

Package Version
System.CommandLine.Experimental Nuget
System.CommandLine.DragonFruit Nuget
System.CommandLine.Rendering Nuget

Daily builds are available if you add this feed to your nuget.config: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json.

Interactive tutorials

You can try out System.CommandLine using an interactive tutorial that showcases its features and APIs, powered by Try .NET.

binding

To use the tutorial, first clone the System.CommandLine repository:

> git clone https://github.com/dotnet/command-line-api

Next, install the dotnet try global tool:

> dotnet tool install -g dotnet-try

Finally, launch the dotnet try pointing to the tutorial directory inside the cloned repository:

> dotnet try <PATH_TO_COMMAND_LINE_API_REPO>/samples/tutorial

Contributing

See the Contributing guide for developer documentation.

License

This project is licensed under the MIT license.

.NET Foundation

.NET is a .NET Foundation project.