def run_report_from_console(output_file_name, callback):
    """
    Runs the report from the command line. Receives the book url from the console.
    """
    print("The report uses a read-only access to the book.")
    print("Now enter the data or ^Z to continue:")

    #report_method = kwargs["report_method"]
    result = callback()

    #output_file_name = kwargs["output_file_name"]
    output = save_to_temp(result, output_file_name)
    webbrowser.open(output)
Runs the report from the command line. Receives the book url from the console.