handleWatchKill function

Future<void> handleWatchKill()

Implementation

Future<void> handleWatchKill() async {
  if (!hasYamlFile) {
    print('❌ No commands.yaml found');
    exit(1);
  }
  await killDetachedWatcher(yamlFile);
  print('You can continue typing commands.');
}