/ Published in: Groovy

An example of how to configure the CliBuilder to read command line arguments in Groovy.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// An example of how to configure the CliBuilder to read command line arguments in Groovy. // Option help cli.h(longOpt: 'help', 'usage information') // Option script args: 1, 'Script filename') cli.usage() }
Comments
