J4JSoftware.Configuration.CommandLine 5.0.0

dotnet add package J4JSoftware.Configuration.CommandLine --version 5.0.0
                    
NuGet\Install-Package J4JSoftware.Configuration.CommandLine -Version 5.0.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="J4JSoftware.Configuration.CommandLine" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="J4JSoftware.Configuration.CommandLine" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="J4JSoftware.Configuration.CommandLine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add J4JSoftware.Configuration.CommandLine --version 5.0.0
                    
#r "nuget: J4JSoftware.Configuration.CommandLine, 5.0.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.
#addin nuget:?package=J4JSoftware.Configuration.CommandLine&version=5.0.0
                    
Install J4JSoftware.Configuration.CommandLine as a Cake Addin
#tool nuget:?package=J4JSoftware.Configuration.CommandLine&version=5.0.0
                    
Install J4JSoftware.Configuration.CommandLine as a Cake Tool

J4JCommandLine

A Net library which adds parsing command line arguments to the IConfiguration system. Command line arguments can be bound to instance or static properties of classes, including nested classes.

There are some restrictions on the nature of the target classes, mostly having to do with them having public parameterless constructors. This is the same constraint as exists for the IConfiguration system.

Nuget

The libraries are licensed under the GNU GPL-v3 or later. For more details see the license file.

See the documentation for details.

ColorfulHelp

A J4JCommandLine extension library which adds colorfully formatted output when displaying help screens.

Nuget

The libraries are licensed under the GNU GPL-v3 or later. For more details see the license file.

See the documentation for details.

Inspiration and Dedication

This library is dedicated to Jon Sequitur, one of the leads on Microsoft's own command line parser, for his patient explanations of how that other parser is designed and his suggestions for potential changes to it which eventually led to me writing J4JCommandLine.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on J4JSoftware.Configuration.CommandLine:

Package Downloads
J4JSoftware.DependencyInjection

provides customized IHostBuilder and IHost classes for simplified configuration

J4JSoftware.Configuration.J4JCommandLine.ColorfulHelp

colorful help formatter for the J4JCommandLine system

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 103 2 months ago
4.3.0 400 4/4/2023
4.2.0 479 12/27/2022
4.1.1 513 2/28/2022
4.1.0 653 11/13/2021
4.0.1 1,182 9/29/2021
4.0.0 1,213 9/28/2021
1.1.1 511 2/3/2021
1.1.0 456 1/21/2021
1.0.0 462 1/9/2021

updated to NET9, simplified usage, added build-time logging