Terse syntax C# command line parser for .NET. For FSharp support see CommandLineParser.FSharp. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.
Argument validation made simple and unified. It ensures arguments conforms to simple validation rules and provides an uniformed exception throwing strategy if arguments are invalid.
CuttingEdge.Conditions is a library that helps developers to write fluent pre and postcondition validations in their C# 3.0 and VB.NET 9.0 code base.
Writing these validations is easy and it improves the readability and maintainability of code.
Guard and Validator library.
Example: Guard.That(arg1).IsNotNull().GreaterThan(100);
Throws an exception if conditions are not met.
Supports the ability to get a list of the failed conditions.
.NET Core 2.0 & Standard 2.0 port of A simple guard clause project helping you with validation and uniformed exception throwing when validating arguments.
Argument validation methods, for example:
this.user = Argument.NotNull("user", user).
Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks are often all over the place).
Annotations: C# 8 nullable reference types, ReSharper,...
More information
OBSOLETE - This fork is not maintained, and the official package has activity again.
Please use this one: https://www.nuget.org/packages/CommandLineParser/
---
The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and...
More information
Terse syntax C# command line parser for .NET. For FSharp support see CommandLineParser.FSharp. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.
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...
More information
A simple guard library for validating method parameters without being a complete validation library.
This library makes it easy to validate method arguments in a uniform way.
Provides dead-easy commandline argument parsing. Can be as simple as:
1. define an interface of options you'd like to parse
2. var opts = args.ParseTo<IArgs>()
See the readme for more info
Collection of simple pieces of reusable code designed such that dependencies aren't forced upon consumers of its packages. Package is shipped as source code.
The ultimate .NET command line parser - PowerArgs converts command line arguments into .NET objects that are easy to program against. It also provides a ton of additional, optional capabilities that you can try such as argument validation, auto generated usage documentation, tab completion, Entity...
More information