mkdir method

Future<void> mkdir(
  1. Shell shell,
  2. Directory dir
)

Implementation

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