DigitalProduction.CommandLine 0.5.0

dotnet add package DigitalProduction.CommandLine --version 0.5.0                
NuGet\Install-Package DigitalProduction.CommandLine -Version 0.5.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="DigitalProduction.CommandLine" Version="0.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DigitalProduction.CommandLine --version 0.5.0                
#r "nuget: DigitalProduction.CommandLine, 0.5.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 DigitalProduction.CommandLine as a Cake Addin
#addin nuget:?package=DigitalProduction.CommandLine&version=0.5.0

// Install DigitalProduction.CommandLine as a Cake Tool
#tool nuget:?package=DigitalProduction.CommandLine&version=0.5.0                

DigitalProduction.CommandLine

Command line argument parsing library for .Net.

Legacy

Origin

This library is derived directly from the Plossum command line parsing library.

Issues

The NuGet package was available and functional, so the software was usable. However, there were a few issues.

  • The code was based on outdate an outdated framework. This was causing compile time warnings.
  • The code base was not being maintained.
  • The source code was only available as a download (it was static). There wasn't a repository to which to contribute changes.
  • The examples were not directly runnable.

New Library

Justification

This effort was initiated to achieve several goals:

  • Remove compile time warnings from using legacy frameworks.
  • Provide a Github repository.
  • Update the code base to use modern language features.
  • Simplify the code base.

Changes

  • The library name was changed to avoid confusion with the original.
  • The namespaces were consolidated and changed to match the library name.
  • Updates to reflect new library features.
  • Simplification of code.
  • Added unit tests.
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.
  • net9.0

    • C5 (>= 3.0.0)

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
0.5.0 52 2/4/2025
0.4.0 52 1/26/2025