code: def offline(f):
      
  
      @click.pass_context
      @verbose
      def new_func(ctx, *args, **kwargs):
          ctx.obj["offline"] = True
          ctx.peerplays = PeerPlays(**ctx.obj)
          ctx.blockchain = ctx.peerplays
          set_shared_peerplays_instance(ctx.peerplays)
          return ctx.invoke(f, *args, **kwargs)
  
      return update_wrapper(new_func, f)
docs: This decorator allows you to access ``ctx.peerplays`` which is
          an instance of PeerPlays with ``offline=True``.