code: def remote_option(help):
      """`REMOTE` is the name of a configured remote. Use ``guild remotes``
      to list available remotes.
  
      For information on configuring remotes, see ``guild remotes
      --help``.
  
      """
      assert isinstance(
          help, str
      ), "@remote_option must be called with help"
  
      def wrapper(fn):
          click_util.append_params(
              fn,
              [
                  click.Option(
                      ("-r", "--remote"),
                      metavar="REMOTE",
                      help=help,
                      shell_complete=_ac_remote,
                  )
              ],
          )
          return fn
  
      return wrapper
  
file_path: guildai/guild/commands/remote_support.py
imports: import click
  from guild import cli
  from guild import click_util
label_desc: Use image node_id 3 for calling a global function with example usage: remote_option(help) and returns: wrapper, fn