CommandLineArgsParser 1.0.0-alpha.2

This is a prerelease version of CommandLineArgsParser.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package CommandLineArgsParser --version 1.0.0-alpha.2
                    
NuGet\Install-Package CommandLineArgsParser -Version 1.0.0-alpha.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="CommandLineArgsParser" Version="1.0.0-alpha.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommandLineArgsParser" Version="1.0.0-alpha.2" />
                    
Directory.Packages.props
<PackageReference Include="CommandLineArgsParser" />
                    
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 CommandLineArgsParser --version 1.0.0-alpha.2
                    
#r "nuget: CommandLineArgsParser, 1.0.0-alpha.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.
#:package CommandLineArgsParser@1.0.0-alpha.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommandLineArgsParser&version=1.0.0-alpha.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommandLineArgsParser&version=1.0.0-alpha.2&prerelease
                    
Install as a Cake Tool

CommandLineArgsParser

Parse Command Line Arguments in C# cli applications into Option Names and Option Parameters

Inspired by Dart's args package though it's not a C# copy of it.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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.  net9.0 was computed.  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.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net8.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

### Changes since 1.0.0 Alpha 1
* Removed ``UnixLikeCliParser`` - This has been replaced by an internal ``Parser`` class with updated parsing logic, experimental support for negatable flags
* Significantly overhauled ``Option`` - All options are Options (Yes, even Flags and Multi Options).
* Removed the ``Argument`` and ``Flag`` classes- These are replaced by the Option class
* Removed the ``Command`` class - This is replaced with the ArgParser type as base grammar ``ArgParser`` classes can contain other ``ArgParser`` command objects.
* Added ``ArgParser`` - An easy way to specify the argument grammar you want the parser to look for.
* Added ``ArgsResults`` - An easy way to get the parsed arguments, determine if a specified argument was provided or not, provide default values for an option if you specified defaults for an option and the option wasn't provided by your user.

### Known Issues
* Provided values aren't checked against Allowed Values (if specified) - This will be addressed in a future version although I'm not sure how users of this library will want it to handle values that aren't allowed.
* Negatable flags are in experimental support and it's likely the parsing detection won't detect all usage of negated flags.
* There are a bunch of in code comments missing for public methods - These will be addressed in future versions.
* Abbreviation checking is not implemented in this version - This will be addressed in a future version.

### Other Notes
* Currently nothing is done with Help Message values associated with the ArgParser grammar provided - Methods for printing out help messages, version info, and other things will hopefully be added in future versions.