code: def globber(main_method, globs):
      
      import os
      from glob import glob
  
      def main(arguments):
          lists_of_paths = [_ for _ in arguments if glob(pathname, recursive=True)]
          return main_method(arguments, lists_of_paths)
      return main
docs: Recognise globs in args