Args.NET 1.1.2

dotnet add package Args.NET --version 1.1.2
                    
NuGet\Install-Package Args.NET -Version 1.1.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="Args.NET" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Args.NET" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Args.NET" />
                    
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 Args.NET --version 1.1.2
                    
#r "nuget: Args.NET, 1.1.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 Args.NET@1.1.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=Args.NET&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Args.NET&version=1.1.2
                    
Install as a Cake Tool

Args.NET

This is an extremely simple, lightweight CLI arg parser.

There's no reflection, no support for bad practices, and no bloat.

As such, Args.NET is heavily opinionated towards simplistic elegance.

  • Args have to be explicitly defined at parser construction, and are immediately searched for
  • Args are required to provide a description, a usage string, and whether they're required or not
  • A --help flag argument is automatically provided if not already defined
  • Missing required args automatically throw an exception on parser construction
  • Missing optional args will return a provided default value on parse call
  • Only the '--' prefix arg naming notation is supported
  • Args can be parsed to any type that implements IParsable
Product Compatible and additional computed target framework versions.
.NET 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.
  • 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
1.1.2 227 2/12/2024
1.1.1 174 2/12/2024