How to capture arguments passed to a Groovy script? January 31, 2023 by Tarik Sorry about asking the question. I just figured it out: println args[0] println args[1] println args[2]