docopt.net 0.8.1

.NET Standard 1.5
Install-Package docopt.net -Version 0.8.1
dotnet add package docopt.net --version 0.8.1
<PackageReference Include="docopt.net" Version="0.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add docopt.net --version 0.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: docopt.net, 0.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
.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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 (3)

Showing the top 3 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
Version Downloads Last updated
0.8.1 2,013 4/3/2022
0.8.0 347 3/30/2022
0.7.0 3,545 12/28/2021
0.6.1.11 10,471 3/28/2021
0.6.1.10 141,028 9/23/2018
0.6.1.9 42,849 8/13/2016
0.6.1.8 15,739 6/14/2016
0.6.1.7 1,704 6/14/2016
0.6.1.7-beta3 826 6/4/2016
0.6.1.7-beta1 1,005 6/4/2016
0.6.1.6 27,796 9/17/2014
0.6.1.5 3,111 12/30/2013
0.6.1.4 31,012 7/28/2013
0.6.1.3 1,320 7/7/2013
0.6.1.2 1,301 7/7/2013
0.6.1.1 1,306 7/6/2013

See: https://github.com/docopt/docopt.net/releases/tag/v0.8.1

Commit @ cc1258e4ab85eb87ef17b2e0b19c054c2de1c6a4