Example #1
0
        static int Main(string[] args)
        {
            var app = new CommandLineApplication()
            {
                Name        = "mysqldiff",
                Description = "MySql Migration Tool",
            };

            app.HelpOption(true);

            DiffCommand.RegisterWithApp(app);
            CopyCommand.RegisterWithApp(app);

            app.OnExecute(() =>
            {
                app.ShowHelp();
            });

            return(app.Execute(args));
        }