handleClean function
Implementation
Future<void> handleClean() async {
await killAllWatchers(silent: true);
final result = await Process.run('dart', ['pub', 'global', 'deactivate', 'generated_commands'], runInShell: true);
GeneratedCommands.delete();
exit(result.exitCode);
}