<reponame>StephenCleary/ethereum-alarm-clock<filename>alarm_client/cli/__init__.py
import click

from .main import main  # noqa
from .client import (  # noqa
    client_run,
    client_monitor,
)
from .requests import (  # noqa
    request_create,
)


@main.command()
@click.pass_context
def repl(ctx):
    """
    Drop into a debugger shell with most of what you might want available in
    the local context.
    """
    main_ctx = ctx.parent
    web3 = main_ctx.web3  # noqa
    #config = main_ctx.config

    #tracker = config.tracker  # noqa
    #factory = config.factory  # noqa

    import pdb
    pdb.set_trace()  # noqa

import click

from .main import main  # noqa
from .client import (  # noqa
    client_run,
    client_monitor,
)
from .requests import (  # noqa
    request_create,
)


@main.command()
@click.pass_context
def repl(ctx):
    """
    Drop into a debugger shell with most of what you might want available in
    the local context.
    """
    main_ctx = ctx.parent
    web3 = main_ctx.web3  # noqa
    #config = main_ctx.config

    #tracker = config.tracker  # noqa
    #factory = config.factory  # noqa

    import pdb
    pdb.set_trace()  # noqa
# noqa # noqa # noqa Drop into a debugger shell with most of what you might want available in     the local context. # noqa #config = main_ctx.config #tracker = config.tracker  # noqa #factory = config.factory  # noqa # noqa