System.CommandLine API

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

Github星跟踪图

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.

主要指标

概览
名称与所有者dotnet/command-line-api
主编程语言C#
编程语言Batchfile (语言数: 5)
平台Windows
许可证MIT License
所有者活动
创建于2018-04-17 16:33:31
推送于2025-04-24 11:20:07
最后一次提交
发布数7
最新版本名称2.0.0-beta4.22272.1 (发布于 )
第一版名称2.0.0-beta1.20213.1 (发布于 )
用户参与
星数3.5k
关注者数256
派生数395
提交数2.3k
已启用问题?
问题数1405
打开的问题数586
拉请求数933
打开的拉请求数34
关闭的拉请求数147
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?