code: def ac_named_archive(_ctx, _param, incomplete, no_quote=False):
      """Returns named archives.
  
      When used in isolation, values should be quoted as needed as they
      can cotain spaces. If used with file system directives on systems
      that support ac directives, values should not be quotes as their
      spaces will be escaped by the shell support.
      """
      from guild import config
  
      names = [
          val
          for val in sorted(
              [a.label or a.name for a in config.archives()]
          )
          if val.startswith(incomplete)
      ]
  
      return (
          ac_support.quote(names)  #
          if not no_quote
          or not ac_support.active_shell_supports_directives()  #
          else names
      )
  
imports: import logging
  import click
  from guild import click_util
  from .None import ac_support
label_desc: Use image node_id 13 for calling a global function with example usage: ac_named_archive(_ctx, _param, incomplete, no_quote) and returns: unknown