code: def pass_verbosity(f):
      
      def new_func(*args, **kwargs):
          kwargs['verbosity'] = click.get_current_context().verbosity
          return f(*args, **kwargs)
      return update_wrapper(new_func, f)
docs: Marks a callback as wanting to receive the verbosity as a keyword argument.