WatchCommand constructor

WatchCommand()

Implementation

WatchCommand() {
  argParser.addFlag(
    'loc',
    help: 'Watch for missing localization keys and auto-add them',
    negatable: false,
  );
  argParser.addOption(
    'debounce',
    help: 'Debounce time in seconds (default: 2)',
    defaultsTo: '2',
  );
  argParser.addFlag(
    'verbose',
    abbr: 'v',
    help: 'Show detailed logs',
    negatable: false,
  );
}