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