DigitalProduction.CommandLine
0.6.2
dotnet add package DigitalProduction.CommandLine --version 0.6.2
NuGet\Install-Package DigitalProduction.CommandLine -Version 0.6.2
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.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DigitalProduction.CommandLine" Version="0.6.2" />
<PackageReference Include="DigitalProduction.CommandLine" />
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 DigitalProduction.CommandLine --version 0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DigitalProduction.CommandLine, 0.6.2"
#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=DigitalProduction.CommandLine&version=0.6.2
#tool nuget:?package=DigitalProduction.CommandLine&version=0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DigitalProduction.CommandLine
Command line argument parsing library for .Net.
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 | 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.