def METHOD_NAME(self, line):
    """
    Interprets the input *line* as command line arguments to the ``law`` executable, but
    rather than invoking it in a subprocess, it is evaluated interactively (or inline, thus
    the *i*) within the running process. This is especially useful for programmatically
    running tasks that were defined e.g. in the current notebook.
    """
    line = line.strip()
    if not line:
        logger.error(r"the command passed to %ilaw must not be empty")
        return
    argv = shlex.split(line)
    prog = argv.pop(0)
    # prog must be a valid law cli prog
    if prog not in law.cli.cli.progs:
        raise ValueError("'{}' is not a valid law cli program".format(prog))
    # forward to the actual prog, run special case
    try:
        # call the line_fn when set
        if callable(line_fn):
            logger.info("calling line function '{}'".format(line_fn.__name__))
            line_fn(line)
        if prog == "run":
            # perform the run call interactively
            return law_run(argv)
        else:
            # forward all other progs to the cli interface
            return law.cli.cli.run([prog] + argv)
    except SystemExit as e:
        # reraise when the exit code is non-zero
        if e.code:
            raise