#!python

import rlpython

from limepress.command_line import setup_parser, setup_logging, setup_context
from limepress import VERSION_STRING

parser = setup_parser(prog='limepress shell')
args = parser.parse_args()
setup_logging(args)
context = setup_context(args)

rlpython.embed(
    prompt=f'LimePress v{VERSION_STRING} >> ',
    globals={'context': context},
)
