McMaster.Extensions.CommandLineUtils 2.1.0-rc

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of McMaster.Extensions.CommandLineUtils.
There is a newer version of this package available.
See the version list below for details.
dotnet add package McMaster.Extensions.CommandLineUtils --version 2.1.0-rc
NuGet\Install-Package McMaster.Extensions.CommandLineUtils -Version 2.1.0-rc
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.1.0-rc" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add McMaster.Extensions.CommandLineUtils --version 2.1.0-rc
#r "nuget: McMaster.Extensions.CommandLineUtils, 2.1.0-rc"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install McMaster.Extensions.CommandLineUtils as a Cake Addin
#addin nuget:?package=McMaster.Extensions.CommandLineUtils&version=2.1.0-rc&prerelease

// Install McMaster.Extensions.CommandLineUtils as a Cake Tool
#tool nuget:?package=McMaster.Extensions.CommandLineUtils&version=2.1.0-rc&prerelease

Command-line parsing API. A community-maintained fork of Microsoft.Extensions.CommandLineUtils, plus extras.
Commonly used types:

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (76)

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

Package Downloads
McMaster.Extensions.Hosting.CommandLine The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides command-line parsing API integration with the generic host API (Microsoft.Extensions.Hosting).

QuantConnect.Configuration The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

QuantConnect LEAN Engine: Configuration Project - The Config and argument parser implementation

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

KubeOps

This is an operator sdk written in c#. It enables a developer to create a custom controller for CRDs (CustomResourceDefinitions) that runs on kubernetes.

Microsoft.Jupyter.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides support for writing Jupyter kernels using the .NET Core SDK.

GitHub repositories (102)

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

Repository Stars
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
xunit/xunit
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
cobbr/Covenant
Covenant is a collaborative .NET C2 framework for red teamers.
jamesmh/coravel
Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
Version Downloads Last updated
4.1.1 99,068 2/19/2024
4.1.0 532,124 8/26/2023
4.0.2 1,296,949 11/19/2022
4.0.1 1,815,003 2/1/2022
4.0.0 556,820 12/27/2021
4.0.0-beta.74 47,004 1/22/2021
4.0.0-beta.56 1,175 1/17/2021
3.1.0 2,492,308 1/10/2021
3.1.0-rc.371 5,516 11/7/2020
3.1.0-beta.356 1,316 9/13/2020
3.1.0-beta.336 532 8/28/2020
3.0.0 2,434,703 3/29/2020
3.0.0-rc.289 4,898 3/21/2020
3.0.0-alpha.268 2,443 3/9/2020
2.6.0 620,593 3/8/2020
2.5.1 229,173 2/7/2020
2.5.0 232,579 1/2/2020
2.4.4 190,372 11/11/2019
2.4.3 28,056 11/1/2019
2.4.2 169,166 9/24/2019
2.4.1 19,617 9/18/2019
2.4.0 17,321 9/14/2019
2.3.4 982,578 4/11/2019
2.3.3 198,927 3/11/2019
2.3.2 305,850 2/5/2019
2.3.1 43,020 1/19/2019
2.3.0 245,996 1/1/2019
2.2.5 1,257,528 7/2/2018
2.2.4 233,786 5/25/2018
2.2.3 30,384 5/11/2018
2.2.2 84,490 4/28/2018
2.2.1 102,708 4/11/2018
2.2.0 492,310 3/31/2018
2.2.0-rc 7,727 3/23/2018
2.2.0-beta 3,014 3/8/2018
2.2.0-alpha 2,957 2/20/2018
2.1.1 126,587 12/28/2017
2.1.0 12,687 12/13/2017
2.1.0-rc 2,920 12/7/2017
2.1.0-beta 3,826 11/22/2017
2.1.0-alpha 2,731 11/11/2017
2.0.1 16,613 10/13/2017
2.0.0 14,409 9/16/2017

2.1.0:
New features:
- Attributes. Simplify command line argument definitions by adding attributes to a class that represents options and arguments.
   - Options defined as [Option] or [Argument], [Subcommand].
   - Command parsing options can be defined with [Command] and [Subcmomand].
   - Special options include [HelpOption] and [VersionOption].
   - Validation. You can use [Required] and any other ValidationAttribute to validate input on options and arguments.
- Async from end to end. Using C# 7.1 and attribute binding, your console app can be async from top to bottom.
- Required options and arguments. Added CommandOption.IsRequired() and CommandArgument.IsRequired().

New API
- Prompt.GetYesNo, Prompt.GetPassword, and more. Added API for interactively getting responses on the console.
- Added OptionAttribute, ArgumentAttribute, CommandAttribute, SubcommandAttribute, HelpOptionAttribute, and VersionOptionAttribute.
- CommandLineApplication.Execute<TApp>() - executes an app where TApp uses attributes to define its options
- CommandLineApplication.ExecuteAsync<TApp>() - sample thing, but async.
- CommandLineApplication.ResponseFileHandling - the parser can treat arguments that begin with '@' as response files.
  Response files contain arguments that will be treated as if they were passed on command line.

Minor bug fixes:
- Add return types to .VerboseOption() and ensure .HasValue() is true when HelpOption or VerboseOption are matched
- Fix a NullReferenceException in some edge cases when parsing args
- Fix bug where DotNetExe.FullPath might return the wrong location of the dotnet.exe file