McMaster.Extensions.CommandLineUtils 2.4.1

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 version of this package available.
See the version list below for details.
Install-Package McMaster.Extensions.CommandLineUtils -Version 2.4.1
dotnet add package McMaster.Extensions.CommandLineUtils --version 2.4.1
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add McMaster.Extensions.CommandLineUtils --version 2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Features and bug fixes by some awesome contributors:

* @IanG: Attributes for files and directories that must not exist
* @ejball: ArgumentEscaper should escape empty string
* @vpkopylov: Use Pager for help text option only works on top-level help
* @vpkopylov: Add check for subcommand cycle
* @kyle-rader: Multi-line option descriptions do not indent correctly

Other things I fixed:
* Support C# 8.0 and nullable reference types
* Add async methods to CommandLineApplication
* Make `CommandLineApplication.ExecuteAsync` actually asynchronous
* Add async methods that accept cancellation tokens
* Handle CTRL+C by default
* Support calling CommandLineApplication.Execute multiple times

2.4.1 hot fix:
* Workaround a bizarre NuGet bug which causes problems for users in Europe and Asia
 (see https://github.com/NuGet/Home/issues/8603)
   

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

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

Repository Stars
icsharpcode/ILSpy
.NET Decompiler
IdentityServer/IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
ravendb/ravendb
ACID Document Database
xunit/xunit
xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework.
scriptcs/scriptcs
Write C# apps with a text editor, nuget and the power of Roslyn!
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
MichaCo/CacheManager
CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
Azure/azure-sdk-for-net
This repository is intended for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
tonerdo/coverlet
Cross platform code coverage for .NET

Version History

Version Downloads Last updated
2.4.4 1,991 11/11/2019
2.4.3 2,452 11/1/2019
2.4.2 23,730 9/24/2019
2.4.1 4,996 9/18/2019
2.4.0 2,937 9/14/2019
2.3.4 151,730 4/11/2019
2.3.3 50,337 3/11/2019
2.3.2 69,054 2/5/2019
2.3.1 19,977 1/19/2019
2.3.0 58,714 1/1/2019
2.2.5 247,590 7/2/2018
2.2.4 44,178 5/25/2018
2.2.3 19,387 5/11/2018
2.2.2 26,602 4/28/2018
2.2.1 10,159 4/11/2018
2.2.0 122,216 3/31/2018
2.2.0-rc 832 3/23/2018
2.2.0-beta 571 3/8/2018
2.2.0-alpha 542 2/20/2018
2.1.1 61,219 12/28/2017
2.1.0 2,191 12/13/2017
2.1.0-rc 517 12/7/2017
2.1.0-beta 1,479 11/22/2017
2.1.0-alpha 428 11/11/2017
2.0.1 5,779 10/13/2017
2.0.0 4,765 9/16/2017