public override void Execute() { if (this.Data.Length != 2) { throw new InvalidCommandException(this.Input); } var folderName = this.Data[1]; inputOutputManager.CreateDirectoryInCurrentFolder(folderName); }
public override void Execute() { if (Data.Length != 2) { throw new InvalidCommandException(Input); } string directoryName = Data[1]; inputOutputManager.CreateDirectoryInCurrentFolder(directoryName); }