示例#1
0
        private static void ManageCommands(IApp app)
        {
            Console.WriteLine("gen-syntax-csv|create-collection-classes|create-collections");
            string commad = Console.ReadLine();

            switch (commad.Trim().ToLower())
            {
            case "gen-syntax-csv":
                app.GenSyntaxCsv();
                break;

            case "create-collection-classes":
                app.CreateArangoDbSyntaxClasses();
                break;

            case "create-collections":
                app.CreateArangoDbSyntaxCollections();
                break;
            }
        }