McMaster.Extensions.CommandLineUtils 3.1.0

Command-line parsing API and utilities for console applications.

Commonly used types:

McMaster.Extensions.CommandLineUtils.CommandLineApplication
McMaster.Extensions.CommandLineUtils.CommandOption
McMaster.Extensions.CommandLineUtils.IConsole
McMaster.Extensions.CommandLineUtils.Prompt
McMaster.Extensions.CommandLineUtils.ArgumentEscaper

A community-maintained fork of Microsoft.Extensions.CommandLineUtils, plus many enhancements.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package McMaster.Extensions.CommandLineUtils -Version 3.1.0
dotnet add package McMaster.Extensions.CommandLineUtils --version 3.1.0
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add McMaster.Extensions.CommandLineUtils --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: McMaster.Extensions.CommandLineUtils, 3.1.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Improvements:
* @scott-xu: Show allowed values in help text (#369)

Bug fixes:
* @natemcmaster: ensure clustering options is detected correctly when subcommands added via AddSubcommand (#393)
* @scott-xu: make UnrecognizedArgumentHandling per command scope (#371)
* @scott-xu: show allowed values in help text correctly when multiple AllowedValuesAttribute are used (#375)
* @scott-xu: show allowed values in help text for Nullable/ValueTuple<bool,T> option/argument (#390)
* @scott-xu: update help text to show allowed values from AllowedValues attribute instead of Enum values (#391)

Docs:
* @chaami: Fix Readme.md on Prompt.GetYesNo (#402)
* @cuperman007 docs: added using statements to code sample in index.md (#384)
* @scott-xu: Fix broken links in docs (#377)
* @scott-xu: cleanup: add a period to end sentences for built-in descriptions (#364)

Other:
* @natemcmaster: Stop code signing binaries and packages (#379)
* @natemcmaster: Change default project branch to 'main' (#373)
* @natemcmaster: add dotnet-format to CI, and other code/project file cleanups
   

See more details here: https://github.com/natemcmaster/CommandLineUtils/blob/main/CHANGELOG.md#v310

NuGet packages (58)

Showing the top 5 NuGet packages that depend on McMaster.Extensions.CommandLineUtils:

Package Downloads
FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code. Documentation can be found at: https://github.com/dotnetcore/FlubuCore Detailed examples can be found at: https://github.com/dotnetcore/FlubuCore.Examples
McMaster.Extensions.Hosting.CommandLine
Provides command-line parsing API integration with the generic host API (Microsoft.Extensions.Hosting).
Microsoft.Jupyter.Core
Provides support for writing Jupyter kernels using the .NET Core SDK.
Rocket.Surgery.Extensions.CommandLine.Abstractions
Provides the ability to provide additional commands to the hosted application by convention
QuantConnect.Configuration
QuantConnect LEAN Engine: Configuration Project - The Config and argument parser implementation

GitHub repositories (72)

Showing the top 5 popular GitHub repositories that depend on McMaster.Extensions.CommandLineUtils:

Repository Stars
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (C#, Python)
fanliang11/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
xunit/xunit
xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework.
siteserver/cms
SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。

Version History

Version Downloads Last updated
4.0.0-beta.74 350 1/22/2021
4.0.0-beta.56 100 1/17/2021
3.1.0 65,886 1/10/2021
3.1.0-rc.371 1,539 11/7/2020
3.1.0-beta.356 1,035 9/13/2020
3.1.0-beta.336 302 8/28/2020
3.0.0 819,143 3/29/2020
3.0.0-rc.289 4,647 3/21/2020
3.0.0-alpha.268 1,261 3/9/2020
2.6.0 62,488 3/8/2020
2.5.1 90,397 2/7/2020
2.5.0 101,161 1/2/2020
2.4.4 102,567 11/11/2019
2.4.3 23,858 11/1/2019
2.4.2 96,972 9/24/2019
2.4.1 11,666 9/18/2019
2.4.0 10,879 9/14/2019
2.3.4 550,310 4/11/2019
2.3.3 98,648 3/11/2019
2.3.2 187,567 2/5/2019
2.3.1 26,948 1/19/2019
2.3.0 121,643 1/1/2019
2.2.5 461,130 7/2/2018
2.2.4 70,173 5/25/2018
2.2.3 20,956 5/11/2018
2.2.2 45,306 4/28/2018
2.2.1 29,247 4/11/2018
2.2.0 210,506 3/31/2018
2.2.0-rc 1,575 3/23/2018
2.2.0-beta 879 3/8/2018
2.2.0-alpha 891 2/20/2018
2.1.1 94,810 12/28/2017
2.1.0 3,541 12/13/2017
2.1.0-rc 872 12/7/2017
2.1.0-beta 1,812 11/22/2017
2.1.0-alpha 742 11/11/2017
2.0.1 6,893 10/13/2017
2.0.0 6,447 9/16/2017