Skip to content

QuentinPom/command-line-api

This branch is 420 commits behind dotnet/command-line-api:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6493867 · Feb 9, 2021
Dec 2, 2020
Dec 2, 2020
Sep 28, 2020
Feb 9, 2021
Aug 20, 2019
Apr 17, 2018
May 22, 2020
Nov 24, 2020
Dec 23, 2018
Apr 4, 2020
Jun 12, 2020
Nov 12, 2019
Apr 17, 2018
Mar 8, 2019
May 10, 2019
Feb 9, 2021
Jan 11, 2021
Mar 2, 2020
May 30, 2020
Feb 27, 2019
Feb 27, 2019
Nov 24, 2020

Repository files navigation

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

This repository contains the code for the System.CommandLine libraries and the dotnet-suggest global tool.

Packages

Package Version Description
System.CommandLine Nuget Command line parser, model binding, invocation, shell completions
System.CommandLine.DragonFruit Nuget Build command-line apps by convention with a strongly-typed Main method
System.CommandLine.Rendering Nuget Structured terminal output rendering and ANSI support
System.CommandLine.Hosting Nuget support for using System.CommandLine with Microsoft.Extensions.Hosting
dotnet-suggest Nuget A command-line tool to provide shell completions for apps built using System.CommandLine.

Daily builds are available if you add this feed to your nuget.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json.

Documentation

Getting started

Syntax Concepts and Parser

Features

Your first app

How to...

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 command-line-api repository:

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

Next, install the dotnet try global tool:

> dotnet tool install -g Microsoft.dotnet-try

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

> dotnet try <PATH_TO_COMMAND_LINE_API_REPO>/docs

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct

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.

About

Command line parsing, invocation, and rendering of terminal output.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 83.2%
  • PowerShell 9.7%
  • Shell 6.5%
  • Other 0.6%