<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_cli(cls, opts):
 """Loads a config file from the given options, with overrides and deletes applied. """

        # read configuration file
        logging.info("Reading configuration file")
        if opts.config_overrides is not None:
            overrides = [override.split(":")
                         for override in opts.config_overrides]
        else:
            overrides = None
        if opts.config_delete is not None:
            deletes = [delete.split(":") for delete in opts.config_delete]
        else:
            deletes = None
        return cls(opts.config_files, overrides, deleteTuples=deletes)