Commit Graph

11 Commits

Author SHA1 Message Date
Jonathan Bernard 7fb35060c2 LightOptionParser: multiple options with arguments.
Previously if there was an option which took multiple arguments, the parser
always returned a flat array of all values given for that option, regardless of
how many arguments it expected. E.g. the following:

    cmd --file-pair f1 f2 --file-pair a b

resulted in the following:

    file-pair: [ f1, f2, a, b ]

For the case where the option is defined as taking only one argument, this
behavior is unchanged, but for the cases where the option is defined as taking
more than one option, an array of arrays is returned instead. For the above
example the result is now:

    file-pair: [ [f1, f2], [a, b] ]

The behavior is the same for options with variable arguments. The following:

    cmd --set f1 f2 --set a b c --set last

results in:

    file-pair: [ [f1, f2], [a, b, c], [last] ]
2015-12-11 23:08:53 -06:00
Jonathan Bernard 5ce1cfab88 Merged in v3.11 2015-11-14 00:25:30 -06:00
Jonathan Bernard 5b25794f5d Removed GroovyDirectoryServer (became it's own project). 2015-09-24 08:32:54 -05:00
Jonathan Bernard f85050f0f2 Changed ConsoleProgressBar to use longs internally. 2015-08-06 20:32:41 -05:00
Jonathan Bernard be4d89abff Added useful dependencies for GroovyDirectoryServer. 2015-07-07 13:46:36 -05:00
Jonathan Bernard 5edf144d3b Added GroovyDirectoryServer: Simple file and Groovlet server.. 2015-07-07 13:34:35 -05:00
Jonathan Bernard 1d3f8d71e2 ConsoleProgressBar: Prevent max from being non-positive. 2015-06-28 08:49:42 -05:00
Jonathan Bernard 14903c866c ConsoleProgressBar: Tries to be intelligent about start time even if the caller skips the first update. 2015-06-28 07:35:26 -05:00
Jonathan Bernard 4b4998026f ConsoleProgressBar: auto-trim text info to fit expected length. 2015-06-28 06:52:18 -05:00
Jonathan Bernard 84b3c3fa23 Added support in HttpContext for submitting empty POST requests. 2015-05-18 19:21:16 -05:00
Jonathan Bernard db7c61a140 Migrated build system to gradle. 2015-02-04 23:26:58 -06:00