public void HandleInput()
        {
            var input       = GetInput();
            var driveLetter = input.ToLower()[0];

            _controller.ReadDrive(driveLetter);
        }
Beispiel #2
0
 private void ReadDrive(string[] parts)
 {
     if (parts.Length < 2)
     {
         UIConsole.WriteLine("Invalid parameters for 'read'. (read [drive letter])");
         return;
     }
     _controller.ReadDrive(parts[1].ToLower()[0]);
 }