declcmdparser 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package declcmdparser --version 1.0.0                
NuGet\Install-Package declcmdparser -Version 1.0.0                
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="declcmdparser" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add declcmdparser --version 1.0.0                
#r "nuget: declcmdparser, 1.0.0"                
#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.
// Install declcmdparser as a Cake Addin
#addin nuget:?package=declcmdparser&version=1.0.0

// Install declcmdparser as a Cake Tool
#tool nuget:?package=declcmdparser&version=1.0.0                

This package contains a powerful, declarative command-line parsing system in a single .cs file. You can include this in any project with almost zero footprint and very easy/readable usage, as shown below. More switch types, including generic ones are coming soon. Example: static void Main(string[] args) { ... args.Process(() => { Console.WriteLine("Print usage here..."); Environment.Exit(-1); }, new CommandLine.Switch("args1", v => saveArgs1Variable = v.First()), new CommandLine.Switch("boolValue1", v => saveBoolValue1 = bool.Parse(v.First())), new CommandLine.Switch("ListOfStringsArgs", v => saveListOfStringArgs = v.ToArray()), new CommandLine.Switch("ComplexArgument", v => { // Excute code here to perform actions with complex argument })); ... }

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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.

Version Downloads Last updated
1.3.0 2,843 6/17/2013
1.2.1 1,411 1/17/2013
1.1.1 1,371 1/8/2013
1.1.0 1,328 1/8/2013
1.0.0.3 1,503 12/11/2012
1.0.0.2 1,827 1/5/2012
1.0.0.1 1,499 11/29/2011
1.0.0 5,848 11/29/2011
0.0.0 1,509 12/29/2011