docopt.net
0.8.1
dotnet add package docopt.net --version 0.8.1
NuGet\Install-Package docopt.net -Version 0.8.1
<PackageReference Include="docopt.net" Version="0.8.1" />
paket add docopt.net --version 0.8.1
#r "nuget: docopt.net, 0.8.1"
// Install docopt.net as a Cake Addin
#addin nuget:?package=docopt.net&version=0.8.1
// Install docopt.net as a Cake Tool
#tool nuget:?package=docopt.net&version=0.8.1
docopt.net is the .net version of the docopt python beautiful command line parser. docopt.net helps you define an interface for your command-line app, and automatically generate a parser for it. docopt.net is based on conventions that have been used for decades in help messages and man pages for program interface description. Interface description in docopt.net is such a help message, but formalized. Check out http://docopt.org/ for a more detailed explanation.
Quick example:
var arguments = new Docopt().Apply("Usage: prog [-a] [-b] FILE", args);
if (arguments["-a"].IsTrue) {{ ... }}
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.5
- NETStandard.Library (>= 2.0.3)
- System.Collections.NonGeneric (>= 4.3.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.1
- System.ValueTuple (>= 4.5.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on docopt.net:
Package | Downloads |
---|---|
FluentMigrator.Runner.Cli
A runner for .NET CLI for Fluent Migrator. |
|
FluentMigrator.Runner.Cli.Executor
A runner for .NET CLI for Fluent Migrator. |
|
FluentMigrator.Runner.DNX
A runner for DNX for Fluent Migrator. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on docopt.net:
Repository | Stars |
---|---|
uxmal/pytocs
Converts Python source to C#
|
|
nsacyber/Windows-Event-Log-Messages
Retrieves the definitions of Windows Event Log messages embedded in Windows binaries and provides them in discoverable formats. #nsacyber
|
|
docopt/docopt.net
Port of docopt to .net
|
|
microsoft/Vipr
Client Library Generation Toolkit
|
Version | Downloads | Last updated |
---|---|---|
0.8.1 | 14,588 | 4/3/2022 |
0.8.0 | 546 | 3/30/2022 |
0.7.0 | 3,952 | 12/28/2021 |
0.6.1.11 | 11,539 | 3/28/2021 |
0.6.1.10 | 159,254 | 9/23/2018 |
0.6.1.9 | 44,055 | 8/13/2016 |
0.6.1.8 | 16,492 | 6/14/2016 |
0.6.1.7 | 1,809 | 6/14/2016 |
0.6.1.7-beta3 | 856 | 6/4/2016 |
0.6.1.7-beta1 | 1,052 | 6/4/2016 |
0.6.1.6 | 28,575 | 9/17/2014 |
0.6.1.5 | 3,214 | 12/30/2013 |
0.6.1.4 | 31,297 | 7/28/2013 |
0.6.1.3 | 1,427 | 7/7/2013 |
0.6.1.2 | 1,405 | 7/7/2013 |
0.6.1.1 | 1,422 | 7/6/2013 |
See: https://github.com/docopt/docopt.net/releases/tag/v0.8.1
Commit @ cc1258e4ab85eb87ef17b2e0b19c054c2de1c6a4