DigitalProduction.CommandLine
0.7.0
dotnet add package DigitalProduction.CommandLine --version 0.7.0
NuGet\Install-Package DigitalProduction.CommandLine -Version 0.7.0
<PackageReference Include="DigitalProduction.CommandLine" Version="0.7.0" />
<PackageVersion Include="DigitalProduction.CommandLine" Version="0.7.0" />
<PackageReference Include="DigitalProduction.CommandLine" />
paket add DigitalProduction.CommandLine --version 0.7.0
#r "nuget: DigitalProduction.CommandLine, 0.7.0"
#:package DigitalProduction.CommandLine@0.7.0
#addin nuget:?package=DigitalProduction.CommandLine&version=0.7.0
#tool nuget:?package=DigitalProduction.CommandLine&version=0.7.0
DigitalProduction.CommandLine
Command line argument parsing library for .Net.
Requirements
Version 0.7.0 and later require .NET 10. Building the solution uses the default C# 14 language version. The MAUI demo also requires the corresponding .NET 10 platform workloads.
Version 0.6.2 is the final .NET 9 release and is no longer maintained.
Legacy
Origin
This library is derived directly from the Plossum command line parsing library written by Peter Palotas.
Issues
The NuGet package was available and functional, so the software was usable. However, there were a few issues.
- The code was based on outdated 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.
- Some data types contained errors.
- Nullable types were not supported.
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.
- Remove bugs and support Nullable types.
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.
- Added a .Net Maui example.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.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.