예제 #1
0
        public static void Help(ITerminal terminal, string command)
        {               //****************************************
            var MyTypeData = TerminalParser.FindCommand(command, terminal.Registries);

            //****************************************

            if (MyTypeData == null)
            {
                terminal.LogWarning("{0} is not a valid command, variable, or instance", command);

                return;
            }

            terminal.LogInformation(TerminalParser.HelpOn(MyTypeData));
        }
예제 #2
0
 public static void Help(ITerminal terminal)
 {
     terminal.LogInformation(TerminalParser.HelpOn(terminal.Registries));
 }