code: def delete_and_rm_options(*args, **kwargs):
      
  
      def inner_decorator(f, supports_batch=True, default_enable_globs=False):
          f = click.option(
              "--recursive", "-r", is_flag=True, help="Recursively delete dirs"
          )(f)
          f = click.option(
              "--ignore-missing",
              "-f",
              is_flag=True,
              help="Don't throw errors if the file or dir is absent",
          )(f)
          f = click.option(
              "--star-silent",
              "--unsafe",
              "star_silent",
              is_flag=True,
              help=(
                  'Don\'t prompt when the trailing character is a "*".'
                  + (" Implicit in --batch" if supports_batch else "")
              ),
          )(f)
          f = click.option(
              "--enable-globs/--no-enable-globs",
              is_flag=True,
              default=default_enable_globs,
              show_default=True,
              help=(
                  "Enable expansion of *, ?, and [ ] characters in the last "
                  "component of file paths, unless they are escaped with "
                  "a preceeding backslash, \\"
              ),
          )(f)
          if supports_batch:
              f = click.option(
                  "--batch",
                  is_flag=True,
                  help=(
                      "Accept a batch of paths on stdin (i.e. run in "
                      "batchmode). Uses ENDPOINT_ID as passed on the "
                      "commandline. Any commandline PATH given will be used "
                      "as a prefix to all paths given"
                  ),
              )(f)
          return f
  
      return detect_and_decorate(inner_decorator, args, kwargs)
docs: Options which apply both to `globus delete` and `globus rm`