addArg method
void
addArg(})
Implementation
void addArg(CmdArg info,
{String? help,
String? valueHelp,
Iterable<String>? allowed,
Map<String, String>? allowedHelp,
String? defaultsTo,
void Function(String?)? callback,
bool hide = false}) =>
addOption(
info.name,
abbr: info.abbr,
help: help,
valueHelp: valueHelp,
allowed: allowed,
allowedHelp: allowedHelp,
defaultsTo: defaultsTo,
callback: callback,
hide: hide,
);