A .NET library designed to allow for binding command line arguments to POCOs. The release will contain assemblies compiled in v3.5 and v4.0.
Args uses [Semantic Versioning] (http://semver.org/)
Version 1.1.1 2013/6/8
- Bug Fixes
- Issue #17: ArgsTypeResolver: How to set the "Current" static property
- Issue #19: Error in parsing
Version 1.1.0 2013/1/2
- Feature Enhancements
- Issue #8: Args now respects the
RequiredAttribute
- Issue #9: In the help output, arguments are only listed in the description area if there is help text provided
- Issue #13: The default type resolver will use non-public parameterless constructors
- Issue #14: Args supports collections (details below)
- Issue #8: Args now respects the
If the declared type of an argument implements IEnumerable<T>
, Args will take each argument and convert it to type T
.
For ordinal parameters, this behavior is only supported for the last ordinal. String
is a special case (it implements IEnumerable<char>
) and is ignored.
If the declared type can handle an array being assigned to it, then an array is created and assigned.
Otherwise, the type must implement IList
or ICollection<T>
, and an instance of the collection is created and the Add
method is invoked for each item.
Version 1.0.4 2011/10/17
- Bug Fixes
- Issue #6: Generating help fails when model does not have any public properties
- Issue #7: Arguments class cannot have super class
- Using latest version of NuGet.exe
Version 1.0.3 2011/04/06
- Bug Fixes
- Issue #3: Switch arguments not working when last, or only, argument
- Using latest version of NuGet.exe
Version 1.0.2 2011/03/31
- Bug Fixes
- Issue #2: Lambda expression causing stack overflow exception
Version 1.0.1 2011/03/01
- No code change, only package changes for NuGet to properly display icon
Version 1.0.0 2011/03/01
- Initial Release