blob: 88fcfbcd5e16ec613a2b0145448341ea0fe6b888 [file] [log] [blame]
>>>
greet(@Rest(valueHelp: 'who', help: 'Name(s) to greet.') List<String> who,
{@Group.start(title: 'Output')
@Option(help: 'How many !\'s to append.')
int enthusiasm: 0,
@Flag(abbr: 'l', help: 'Put names on separate lines.') bool lineMode: false,
@Option(name: 'greeting', help: 'Alternate word to greet with e.g. "Hi".')
String salutation: 'Hello'}) {}
<<<
greet(
@Rest(valueHelp: 'who', help: 'Name(s) to greet.')
List<String> who,
{@Group.start(title: 'Output')
@Option(help: 'How many !\'s to append.')
int enthusiasm: 0,
@Flag(abbr: 'l', help: 'Put names on separate lines.')
bool lineMode: false,
@Option(name: 'greeting', help: 'Alternate word to greet with e.g. "Hi".')
String salutation: 'Hello'}) {}