GetOptNet 4.0.8
Install-Package GetOptNet -Version 4.0.8
dotnet add package GetOptNet --version 4.0.8
<PackageReference Include="GetOptNet" Version="4.0.8" />
paket add GetOptNet --version 4.0.8
#r "nuget: GetOptNet, 4.0.8"
// Install GetOptNet as a Cake Addin
#addin nuget:?package=GetOptNet&version=4.0.8
// Install GetOptNet as a Cake Tool
#tool nuget:?package=GetOptNet&version=4.0.8
Quickly implement command line arguments handling in .Net applications using annotations and automatic type conversations.
It’s as easy as spicing your class with some fields and properties, adding some GetOptNet annotations and calling .Parse(args). GetOptNet will then inspect the command line, validate and assign values to your fields and properties and be done.
Arguments can be flags (boolean), any primitive type, any constructable type, arrays or List<>s. They can be marked “required”, and for lists a minimum and maximum number of values a user may give can be specified.
Version 4.0 furthermore adds commands (GetOptCommand
) that allow to easily implement (sub-)commands like yourapp dosomething --verbose
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on GetOptNet:
Repository | Stars |
---|---|
nmaier/simpleDLNA
A simple, zero-config DLNA media server, that you can just fire up and be done with it.
|