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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?