createParser method

  1. @override
ArgParser createParser(
  1. Iterable<String> args
)
override

Implementation

@override
ArgParser createParser(Iterable<String> args) {
  final _parser = super.createParser(args);
  _parser.addOption("locale",
      defaultsTo: null,
      callback: (value) => locale = value,
      help: 'Specify the locale set inside the arb file.');
  return _parser;
}