Example #1
0
        static void Main(string[] args)
        {
            // Set up logging
            log4net.Config.XmlConfigurator.Configure(); // use app.config

            log.Info("Starting run..");
            log.Info("Parsing arguments..");
            CommandDispatcher commandDispatcher = new CommandDispatcher();
            ArgumentsParser.parseArguments(args, commandDispatcher);

            log.Info("Executing commands..");
            commandDispatcher.executeAll();
        }