Let’s use Groovy’s CliBuilder to create CLI programs that can take flags. Intro I write quite some scripts at work, either for myself or for my team. Iused to write these scripts in Bash, but since we are using Windows atwork, it made sense to switch to a more general scripting language.Because we’re a Java shop, Groovy seemed like a natural choice. Now,it’s often very convenient to have named command-line arguments (e.g.tool --output out.ext --input in.ext) as opposed to positionalar...