addOption method
Add an option (--option value or -o value).
Implementation
CommandBuilder addOption(
String name, {
String? abbr,
String? help,
List<String>? allowed,
String? defaultValue,
}) {
_schema.add({
'kind': 'option',
'name': name,
'abbr': abbr,
'help': help,
'allowed': allowed,
'defaultValue': defaultValue,
});
return this;
}