NuGet Package docopt.net, a beautiful command-line parser

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) {{ ..

}}.




Got any docopt.net, a beautiful command-line parser Question?





Info

Version: 0.8.1
Author(s): Dinh Doan Van Bien, Vladimir Keleshev
Last Update: Sunday, April 3, 2022
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/docopt/docopt.net
NuGet Url: https://www.nuget.org/packages/docopt.net


Install
Install-Package docopt.net
dotnet add package docopt.net
paket add docopt.net
docopt.net Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0
  • No dependencies.
netstandard1.5 4 packages depend on this package.


Tags



STATS

must-have-score

2.4

avg-downloads-per-day

68

days-since-last-release

716