def main(self, command_line_args):
        """Main entry point.  Consumes command line args (clients can pass sys.argv)"""

        if (2 < len(command_line_args)):
            # Print help as the default, if no args given.
            command_line_args = [ "driver.py", "--help" ]

        args = self.parse_args(command_line_args)
        if (len(args.databases) == 0):
            return

        m = Migrator(self.database_source, self.database_handler)
        m.is_debug_printing = self.is_debug_printing
        
        if args.new:
            m.delete_make_new(*args.databases)
        if args.schema:
            m.run_baseline_schema(*args.databases)
        if args.migrations or args.update:
            m.run_migrations(*args.databases)
        if args.code or args.update:
            m.run_code_definitions(*args.databases)
        if args.data or args.update:
            m.run_reference_data(*args.databases)
dataset/ETHPy150Open jzohrab/DbMigrator/dbMigrator/driver.py/Driver.main/swapped operands of `<`