Exemple #1
0
        public void ForwardCommand(string command, string[] args)
        {
            var fullCommand = string.Join(" ", args);
            var result      = CommandTools.ExecuteCommand(fullCommand);

            if (!string.IsNullOrEmpty(result))
            {
                Console.WriteLine(result);
            }
            else
            {
                NotRecognised();
            }
        }