Running groovy from command line
When we run the groovy script from grrovyConsole,'Result' contains the value that we return in the script.
C开发者_高级运维an i get the Result value when running the script from command line? if yes How?
Simply println
the resulting value at the end of your script and it will be written to the console.
精彩评论