private void ConfigListCommand()
 {
     config = new Catalog("Configurate terminal", enable.path);
     config.AddCommand("ColorRed", () => Console.ForegroundColor = ConsoleColor.Red);
 }
 private void EnableListCommand()
 {
     enable = new Catalog("Enable", users.path);
     enable.AddCommand("Configurate terminal", () => config.Operation());
 }
Example #3
0
 private void ConfigListCommand()
 {
     config = new Catalog("Config", enable.path);
     config.AddCommand("colorgreen", () => Console.ForegroundColor = ConsoleColor.Green);
 }
 private void UserListCommand()
 {
     users = new Catalog("User");
     users.AddCommand("Hi", () => Console.WriteLine("Hello)"));
     users.AddCommand("Enable", () => enable.Operation());
 }
Example #5
0
 private void UserListCommand()
 {
     users = new Catalog("User");
     users.AddCommand("time", () => Console.WriteLine(DateTime.Now));
     users.AddCommand("enable", () => enable.Operation());
 }