WatchCommand constructor

WatchCommand({
  1. required FindSettings settings,
  2. required FileSystem fs,
  3. required Logger logger,
  4. required KeyPressListener keyPressListener,
})

Implementation

WatchCommand({
  required this.settings,
  required this.fs,
  required this.logger,
  required this.keyPressListener,
}) {
  argParser
    ..addOption(
      'config',
      abbr: 'c',
      valueHelp: 'Define a yaml file path.',
      help: 'If not present use the "barreler.yaml" file',
    );
}