示例#1
0
        static int Main(string[] args)
        {
            Console.WriteLine("Toptout-cli 0.1.309-alpha");

            var root = GlobalCommand.Create();

            root.AddCommand(UpdateCommand.Create());

            int errlevel = root.Invoke(args);

#if DEBUG   // TODO DEBUG only
            Console.WriteLine("Press [Enter] to close...");
            Console.ReadLine();
#endif
            return(errlevel);
        }