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