Skip to content

module main

Command line interface.

Global Variables

  • DEFAULT_BUILTIN_TEMPLATE
  • VERSION
  • GOODREAD_EXPORT_FILE_NAME
  • DEFAULT_TEMPLATES_FOLDER

function merge_authors

merge_authors(log: Log, books_folder: Path, templates: TemplateSet)  Library

Load library and merge authors.


function load_library

load_library(log: Log, books_folder: Path, templates: TemplateSet)  Library

Load library.


function load_templates

load_templates(
    log: Log,
    books_folder: Optional[Path],
    templates_folder: Optional[Path],
    builtin_templates_name: Optional[str]
)  TemplateSet

Load templates.

If templates_folder is not None, load from this folder.

Otherwise, load embedded templated with specified or default name. If default templates folder exists in the books_folder, and builtin_name is not None, load the built-in and notify that we ignore existed template folder.

If built-in explicitly specified, silently ignore the default templates folder.


This file was automatically generated via lazydocs.