private void ProcessGet(string[] command) { if (command.Length > 1) { if (command[1] == "console" && command.Length > 2) { switch (command[2]) { case "height": WriteToConsole( new ConsoleWriteLineEventArgs("Console height: " + _commandPrompt.ConsoleHeight)); break; case "width": WriteToConsole(new ConsoleWriteLineEventArgs("Console width: " + _commandPrompt.ConsoleWidth)); break; case "theme": WriteToConsole(new ConsoleWriteLineEventArgs(_commandPrompt.CurrentStyleThemeDetails())); break; default: WriteToConsole( new ConsoleWriteLineEventArgs("Command argument [" + command[2] + "] not recognized: \r" + GetCommandEntry(command[0]))); break; } } else { WriteToConsole(new ConsoleWriteLineEventArgs("Command argument [" + command[1] + "] not recognized :\r" + GetCommandEntry(command[0]))); } } else { WriteToConsole( new ConsoleWriteLineEventArgs("Missing arguments for [" + command[0] + "]:\r" + GetCommandEntry(command[0]))); } }