Beispiel #1
0
        static async Task <int> Main(string[] args)
        {
            Console.WriteLine("online");
            ConfigHubTests();
            // Test
            var f = new FeatureHardCodedProvider();

            f.AddFeature(new Feature("TEST", true));



            if (Feature.GetFeatureByName("TEST").Active)
            {
            }

            CommandLineArgs        cla  = new CommandLineArgs();
            CommandArgumentSupport clas = new CommandArgumentSupport();

            clas.ProcessArguments(cla, args);
            clas.AddExample("TestConsoleApp.exe -x", "Runs it with an x parameter");
            string sa = clas.GenerateShortHelp(cla, "TestConsoleApp");

            Console.WriteLine("sec");
            Console.WriteLine(sa);

            await HHTestExecute();

            Console.ReadLine();

            return(0);
        }