parser top-level property

ArgParser parser
final

Implementation

final parser = ArgParser()
  ..addOption('input', abbr: 'i', help: 'directory to process shaders in.')
  ..addOption('output',
      abbr: 'o', help: 'compute archive and write to given path.')
  ..addOption('diff',
      abbr: 'd',
      help: 'compute diff of current shaders with archive at provided path.')
  ..addMultiOption('core', abbr: 'c', defaultsTo: kCore, help: 'the GPUs.')
  ..addOption('print',
      help: 'display contents of archive provided to this path.')
  ..addOption('shader', help: 'filter shaders processed by the given string.')
  ..addFlag('help', abbr: 'h', help: 'print usage', negatable: false);