We can use Groovy on the command-line to evaluate one-line scripts and pipe output to other commands or use input from other commands. This makes for some command-line scripting. We invoke groovy with the -e argument to evaluate a simple script. We can even use arguments in the script.One of the other things I'm loving about getting into Groovy and Grails is the ability to use Groovy for command-line scripting. Some really powerful stuff can be accomplished very simply with Groovy.
No comments:
Post a Comment