1.7.0.1 alfa

Rating: No reviews yet
Downloads: 134
Released: Nov 22, 2009
Updated: Nov 22, 2009 by gsscoder
Dev status: Alpha Help Icon

Recommended Download

Source Code libcmdline-1.7.0.1-alfa-src.zip
source code, 269K, uploaded Nov 22, 2009 - 68 downloads

Other Available Downloads

Application libcmdline-1.7.0.1-alfa-bin.zip
application, 310K, uploaded Nov 22, 2009 - 37 downloads
Documentation libcmdline-1.7.0.1-alfa-doc.zip
documentation, 142K, uploaded Nov 22, 2009 - 29 downloads

Release Notes

Version 1.7.0.1 alfa introduces a new option that accepts multiple values. Includes contribution from another developer, Steven Evans. Contains core parser and unit tests refactoring.

Updates

  1. Now you can define option that accepts multiple values using array field and OptionArray[Attribute].
  2. HelpText type (namespace CommandLine.Text) can wrap text that exceed a predefined number of chars (default 80, but controllable by a property).

OptionArray[Attribute]

Now you can store multiple values using a single option (and not by re-parsing a single value as with OptionList[Attribute]).
C#:
class Options
{
    // ...
    [OptionArray("o", "output", HelpText = "The output files to generate.")]
    public string[] OutputFiles = null;
    // ...
}
This allows the following.

Console:
TestApp --output file0.out file1.out file3.out

TestApp --output=file0.out file1.out file3.out file4.out

TestApp -ofile0.out file1.out

HelpText Improvements

  1. Use HelpText as always.
  2. Set MaximumDisplayWidth property to wrap around a width defined by your application.
  3. Use the new boolean property AdditionalNewLineAfterOption to add an additional new line after an option text block.

ChangeLog

You can read more details in the section of change log relative to this release.

Reviews for this release

No reviews yet for this release.