1.3.7 rc0

Rating:        Based on 1 rating
Reviewed:  0 reviews
Downloads: 549
Released: Jul 22, 2008
Updated: Dec 24, 2008 by gsscoder
Dev status: Beta Help Icon

Recommended Download

Source Code cmdlinelib-1.3.7-rc0-src.zip
source code, 176K, uploaded Jul 22, 2008 - 258 downloads

Other Available Downloads

Application cmdlinelib-1.3.7-rc0-bin.zip
application, 125K, uploaded Jul 22, 2008 - 148 downloads
Documentation cmdlinelib-1.3.7-rc0-apiref.zip
documentation, 99K, uploaded Jul 22, 2008 - 143 downloads

Release Notes

Updates

  • Added support for multi-value options.

OptionListAttribute type

Using the new OptionList attribute you can specify a command line option that can accept a list of values separated by a character.
Now you can parse a command line like this:
your-app --filename data.bin --sections 9;13;44

Simply employ the new attribute:
class YourOptions
{
[...omissis...]

[OptionList("s", "sections", ';')]
public IList<string> FileSections = null;

[...omissis...]
}

The resulting FileSections field (of type List<string>) will have three elements: '9', '13' and '44'.

Reviews for this release