from voca import utils
from voca import context
from voca.plugins import basic


registry = utils.Registry()
registry.define({"?text": r"/\w.+/"})


@registry.register('"check"')
async def _say_def(message: str):
    await basic.write("turt")


wrapper = utils.Wrapper(
    registry, context=context.WindowContext("Python Turtle Graphics")
)
