handleWatch function

Future<void> handleWatch()

Implementation

Future<void> handleWatch() async {
  if (!hasYamlFile) {
    print('❌ No commands.yaml found');
    exit(1);
  }
  print('Watching commands.yaml for changes...');
  await watchCommandsYaml();
}