import asyncio from core.parser import parser kwargs = {} kwargs['TEST'] = True kwargs['command'] = '~weekly' asyncio.run(parser(kwargs))