System.CommandLine API

命令行的解析、调用和终端输出的渲染。「Command line parsing, invocation, and rendering of terminal output.」

Github stars Tracking Chart

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/dotnet-libraries/nuget/v3/index.json.

Documentation

Getting started

Syntax Concepts and Parser

Features

Your first app

How to...

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.

Overview

Name With Ownerdotnet/command-line-api
Primary LanguageC#
Program languageBatchfile (Language Count: 5)
PlatformWindows
License:MIT License
Release Count7
Last Release Name2.0.0-beta4.22272.1 (Posted on )
First Release Name2.0.0-beta1.20213.1 (Posted on )
Created At2018-04-17 16:33:31
Pushed At2024-03-20 20:13:13
Last Commit At
Stargazers Count3.3k
Watchers Count261
Fork Count372
Commits Count2.3k
Has Issues Enabled
Issues Count1308
Issue Open Count511
Pull Requests Count868
Pull Requests Open Count24
Pull Requests Close Count138
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top