def object_from_args(args):
    """
    Turns argparser's namespace into something manageable by an external library.

    Args:
        args: The result from parse.parse_args
    Returns:
        A tuple of a dict representing the kwargs and a list of the positional arguments.
    """

    return dict(args._get_kwargs()), args._get_args()