Exemplo n.º 1
0
        public void SetDefaultSetup(MainController mainController)
        {
            OptionsBuilder optionsBuilder = new OptionsBuilder(mainController);

            commands = optionsBuilder
                       .AddCommand("run")
                       .AddCommand("inputs")
                       .AddCommand("changeinput")
                       .AddHelpCommand(optionsBuilder.GetCommands().Keys.ToList())
                       .GetCommands();
            Program.log.Invoke("> Please enter a command.");
        }