def METHOD_NAME(self):
    demands = self.cli.demands
    if self.opts.subcommand in ('add', 'delete'):
        demands.root_user = True
    self.aliases_base = dnf.cli.aliases.Aliases()
    self.aliases_base._load_aliases()
    self.resolving_enabled = self.aliases_base.enabled
    self._update_config_from_options()