Argumentos 1.0.1
dotnet add package Argumentos --version 1.0.1
NuGet\Install-Package Argumentos -Version 1.0.1
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="Argumentos" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Argumentos" Version="1.0.1" />
<PackageReference Include="Argumentos" />
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 Argumentos --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Argumentos, 1.0.1"
#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 Argumentos@1.0.1
#: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=Argumentos&version=1.0.1
#tool nuget:?package=Argumentos&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Argumentos
A command line arguments processing tool.
Auto-processes arguments, simple interface to setup.
Usage
Use namespace Argumentos. Implicetly or by including via "using";
Basic steps are:
- Creating primary instance
- (Optional) Create, describe and add command
- Process
- Get argument value or check existance
More examples at Source
Basic example
// create primary instnace
var ar = new Argumentos.Args(args);
// create recognized command in arguments
var cmd_input_file = new Argumentos.Command("input", "Input file path");
// add command to main instance
ar.AddCommand(cmd_input_file);
// ready to process args
ar.Process();
// get value by key
var value = ar.GetArgument<string>("input");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- 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.