code: def pass_config(func=None, **config_kw):
      
  
      def decorate(func):
          def new_func(*args, **kw):
              config = load_config(**config_kw)
              func(config, *args, **kw)
  
          return functools.update_wrapper(new_func, func)
  
      if func is None:
          return decorate
      else:
          return decorate(func)
docs: Decorator which passes the CCI config object as the first arg to a click command.