CommandLineFluent 2.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CommandLineFluent --version 2.4.0
NuGet\Install-Package CommandLineFluent -Version 2.4.0
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="CommandLineFluent" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommandLineFluent --version 2.4.0
#r "nuget: CommandLineFluent, 2.4.0"
#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 CommandLineFluent as a Cake Addin
#addin nuget:?package=CommandLineFluent&version=2.4.0

// Install CommandLineFluent as a Cake Tool
#tool nuget:?package=CommandLineFluent&version=2.4.0

A .NET Command Line Parsing library which is set up and parsed using fluent syntax. It parses command line arguments into strongly-typed classes which you define. Supports conditional dependencies between arguments, conversion, default values, a basic shell, and automatic help/usage text. It also supports invoking awaitable or asynchronous actions with the classes you define.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework 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 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.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.0 458 11/15/2021
2.5.0 932 6/8/2021
2.4.1 368 5/23/2021
2.4.0 319 4/29/2021
2.3.3 365 11/26/2020
2.3.2 384 11/17/2020
2.3.1 422 11/9/2020
2.3.0 474 10/30/2020
2.2.1 416 9/24/2020
2.2.0 404 9/23/2020
2.1.1 447 9/11/2020
2.1.0 466 8/29/2020
2.0.2 455 8/23/2020
2.0.1 407 8/21/2020
2.0.0 418 8/19/2020
1.7.3 596 2/23/2020
1.7.2 486 12/3/2019
1.7.1 479 11/15/2019
1.7.0 473 11/14/2019
1.6.0 509 10/31/2019
1.5.0 484 10/24/2019
1.4.0 495 10/16/2019
1.3.0 509 10/15/2019
1.2.0 490 10/3/2019
1.1.0 497 9/17/2019

- InputLoop added and Shell is deprecated, to allow for different arguments. User can specify any stop condition they like, of note this allows Ctrl+C to provide a more graceful exit.
- Added a class that can be used to stop CliParser.InputLoop or .InputLoopAsync. Useful for allowing Ctrl+C or something to terminate gracefully
- CliParser can get configured defaults, useful for allowing verbs not intended to be invoked by themselves to write help.
- Allowed for sub-verbs to be added to verbs
- Improved the help text generation
- Inheritance hierarchy for Options/Values/Switches/MultiValues has been changed, to allow for IOption, IValue, ISwitch, and IMultiValue
- Write(char) and WriteLine(char) overloads for IConsole
- StringComparer can no longer be changed after assigned to CliParserConfig; makes no sense because it gets propogated to dictionaries
- Removed Obsolete Stuff
- Comparisons to Short/Long help switches are done using CliParserConfig.StringComparer properly now