def parse(
        args: typing.List[str] = None,
        arg_parser: ArgumentParser = None
) -> dict:
    """Parses the arguments for the cauldron server"""

    parser = arg_parser or create_parser()
    return vars(parser.parse_args(args))