Command line interface with CommandLine Builder

Simple example of the groovy commandline builder.

(more…)

Read from stdin

Read lines from stdin and print in on stdout. Terminate the program when “exit” is entered.
(more…)

Count lines

Howto count all lines from stdin or a file in groovy.
(more…)