This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grab(group='commons-cli', module='commons-cli', version='1.1') | |
class DraftOrder { | |
static main(args) { | |
def cli = new CliBuilder(header: '\nAvailable options (use -h for help):\n') | |
cli.with { | |
h(longOpt: 'help', 'Usage Information', required: false) |