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