static void Main(string[] args)
        {
            XRules_Config.xRulesDatabase = new KXRulesDatabase_O2Cmd();
            XRules_DatabaseSetup.installXRulesDatabase();

            O2Cmd.O2CmdName          = "O2 Cmd XRules  (Command line interface for the O2 XRules)";
            O2Cmd.O2CmdPublishedDate = "November 2009";
            O2CmdApi.typesWithCommands.Add(typeof(XRulesWrapper));

            //if (args.Length == 0)
            //   args = new[] { "help" };

            O2CmdExec.execArgs(args);
        }
예제 #2
0
 static void Main(string[] args)
 {
     O2CmdApi.typesWithCommands.Add(typeof(Filters.OzasmtFilters));
     O2CmdApi.typesWithCommands.Add(typeof(GuiHelpers));
     O2CmdApi.typesWithCommands.Add(typeof(Filters.OzasmtLinqUtils));
     O2CmdApi.typesWithCommands.Add(typeof(Filters.PublishToCore));
     O2CmdApi.typesWithCommands.Add(typeof(Filters.RemoveDuplicateTypeIIs));
     if (ClickOnceDeployment.isClickOnceDeployment())
     {
         if (args.Length == 0)
         {
             args = new[] { "gui" }
         }
     }
     ;
     O2CmdExec.execArgs(args);
 }
        static void Main(string[] args)
        {
            O2Cmd.O2CmdPublishedDate = "June 2009";
            O2Cmd.O2CmdName          = "O2 Cmd Spring MVC - Utilities to analyze Spring MVC apps";

            O2CmdApi.typesWithCommands.Add(typeof(Scripts.TraceCreator));
            O2CmdApi.typesWithCommands.Add(typeof(Gui));

            //if (ClickOnceDeployment.isClickOnceDeployment())
            if (args.Length == 0)
            {
                args = new[] { "gui" }
            }
            ;
            O2CmdExec.execArgs(args);
        }
    }