code: def append_use_flags(atom, uses=None, overwrite=False):
      '''
      Append a list of use flags for a given package or DEPEND atom
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' portage_config.append_use_flags "app-admin/salt[ldap, -libvirt]"
          salt '*' portage_config.append_use_flags ">=app-admin/salt-0.14.1" "['ldap', '-libvirt']"
      '''
      if not uses:
          uses = portage.dep.dep_getusedeps(atom)
      if not uses:
          return
      atom = atom[:atom.rfind('[')]
      append_to_package_conf('use', atom=atom, flags=uses, overwrite=overwritef append_use_flags(atom, uses=None, overwrite=False):
      '''
      Append a list of use flags for a given package or DEPEND atom
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' portage_config.append_use_flags "app-admin/salt[ldap, -libvirt]"
          salt '*' portage_config.append_use_flags ">=app-admin/salt-0.14.1" "['ldap', '-libvirt']"
      '''
      if not uses:
          uses = portage.dep.dep_getusedeps(atom)
      if not uses:
          return
      atom = atom[:atom.rfind('[')]
      append_to_package_conf('use', atom=atom, flags=uses, overwrite=overwrite)
docs: Append a list of use flags for a given package or DEPEND atom
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' portage_config.append_use_flags "app-admin/salt[ldap, -libvirt]"
          salt '*' portage_config.append_use_flags ">=app-admin/salt-0.14.1" "['ldap', '-libvirt']"