Future<void> rmdir(Shell shell, Directory dir) async { final rm = await shell.start('rm', arguments: ['-rf', dir.path]); await rm.expectZeroExit(); }