开发者

Running groovy from command line

开发者 https://www.devze.com 2022-12-25 14:44 出处:网络
When we run the groovy script from grrovyConsole,\'Result\' contains the value that we return in the script.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消